Check if the title's page get an unsual chars and alert users
This MediaWiki extension controls that the name entered into the Page Form's input title field doesn't contains some specific caracters. If the extension detects a wrong characters, a modal box appears and prevent the user to create the page with the entered title., (*1)
Also if there is a blank space at the end of the entered string, the blank space is removed automactically., (*2)
We have create this extension to avoid people to create pages with weird characters., (*3)
The extensions checks the "formInput" class., (*4)
Clone CheckTitlePage into the 'extensions' directory of your mediawiki installation, (*5)
Add the folling Line to your LocalSettings.php file :, (*6)
wfLoadExtension('CheckPageTitle');, (*7)
Add this line too to your LocalSettings.php file : (OBSOLETE), (*8)
$wgLegalTitleChars = " %!\"$'()*,\-.\/0-9@A-Z\^_`a-z~\x80-\xFF+";, (*9)
Warning : this last configuration parameters has been disable du to bugs. the config is now fixed, and use this config : "\"',\-.\/0-9@A-Z_`a-z~\xC0-\xFF+", (*10)
This extension works with the Extension:PageForms., (*11)
This extension has been tested on MediaWiki version 1.27.1, (*12)