Module:Bad title suggestion/doc

MyWikiBiz, Author Your Legacy — Friday November 22, 2024
< Module:Bad title suggestion
Revision as of 20:48, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This is the documentation page for Module:Bad title suggestion

Template:Used in system Template:Module rating

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, {{Did you mean box}} is displayed.

Usage

{{#invoke:Bad title suggestion|main|invalid_char|bad_title_encoded}}

In the case of MediaWiki:Title-invalid-characters, this is:

{{#invoke:Bad title suggestion|main|$1|$2}}

Examples

  • Foobar>: {{#invoke:Bad title suggestion|main|>|Foobar&#62;}}



Lua error: expandTemplate: template "Did you mean box" does not exist.

(nothing displayed)


  • <Foobar>: {{#invoke:Bad title suggestion|main|<|#60;Foobar#62;}}

(nothing displayed)