Editing
Module:Bad title suggestion/doc
From Thetacola Wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Used in system}} {{Module rating|protected}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> This module implements title suggestions for the "Bad title" interface message at [[MediaWiki:Title-invalid-characters]]. When the user asks for a page with invalid characters, this module checks for a page with the given title up to the first invalid character. If it exists, {{tl|Did you mean box}} is displayed. == Usage == <code><nowiki>{{#invoke:Bad title suggestion|main|invalid_char|bad_title_encoded}}</nowiki></code> In the case of [[MediaWiki:Title-invalid-characters]], this is: <code><nowiki>{{#invoke:Bad title suggestion|main|$1|$2}}</nowiki></code> == Examples == *[{{canonicalurl:Foobar}}%3E Foobar>]: <code><nowiki>{{#invoke:Bad title suggestion|main|>|Foobar&#62;}}</nowiki></code> {{#invoke:Bad title suggestion|main|>|Foobar>}} *[{{canonicalurl:Wikipedia:Village pump}}%7D Wikipedia:Village pump}}]: <code><nowiki>{{#invoke:Bad title suggestion|main|}|Wikipedia:Village pump&#125;&#125;}}</nowiki></code> {{#invoke:Bad title suggestion|main|}|Wikipedia:Village pump}}}} *[{{canonicalurl:Main Page}}%7Ctitle_text%21 Main Page|title text!]: <code><nowiki>{{#invoke:Bad title suggestion|main|||Main Page&#124;title text!}}</nowiki></code> {{#invoke:Bad title suggestion|main|||Main Page|title text}} *[{{canonicalurl:This page absolutely does not exist}}%3E This page absolutely does not exist>]: <code><nowiki>{{#invoke:Bad title suggestion|main|>|This page absolutely does not exist&#62;}}</nowiki></code> {{#invoke:Bad title suggestion|main|>|This page absolutely does not exist>}}(nothing displayed) *[{{canonicalurl:Category:Contents}}%3E Category:Contents>]: <code><nowiki>{{#invoke:Bad title suggestion|main|>|Category:Contents&#62;}}</nowiki></code> {{#invoke:Bad title suggestion|main|>|Category:Contents>}} *[{{SERVER}}/wiki/%3CFoobar%3E <Foobar>]: <code><nowiki>{{#invoke:Bad title suggestion|main|<|#60;Foobar#62;}}</nowiki></code> {{#invoke:Bad title suggestion|main|<|&60;Foobar>}}(nothing displayed) <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> }}</includeonly>
Summary:
Please note that all contributions to Thetacola Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Did you mean box
(
edit
)
Template:Fmbox
(
edit
)
Template:Module rating
(
edit
)
Template:Nowrap
(
edit
)
Template:Sandbox other
(
edit
)
Template:Template link
(
edit
)
Template:Tl
(
edit
)
Template:Used in system
(
edit
)
Module:Arguments
(
edit
)
Module:Bad title suggestion
(
edit
)
Module:High-use
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/fmbox.css
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:String
(
edit
)
Module:Transclusion count
(
edit
)
Module:Transclusion count/data/B
(
edit
)
Module:Yesno
(
edit
)
Navigation menu
Page actions
Module
Discussion
Read
Edit source
History
Page actions
Module
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information