Module:Bad title suggestion/doc

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
In the case of MediaWiki:Title-invalid-characters, this is:

Examples

 * [%3E Foobar>]:

{{#invoke:Bad title suggestion|main|}|Wikipedia:Village pump&#125;&#125;}}
 * [%7D Wikipedia:Village pump}}]:


 * [%7Ctitle_text%21 Main Page|title text!]:

(nothing displayed)
 * [%3E This page absolutely does not exist>]:


 * [%3E Category:Contents>]:

(nothing displayed)
 * [/wiki/%3CFoobar%3E ]: