Jump to content

Module:Bad title suggestion/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by The Earwig (talk | contribs) at 06:00, 27 February 2021 (create). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)


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}}

Examples

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

(nothing displayed)

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

(nothing displayed)