Manual talk:$wgLegalTitleChars

"This is a regex character class (i.e. a list of characters in a format suitable for a regular expression) that you want MediaWiki to allow in page titles despite being in the list of illegal characters."

Then why does the default value contain so many legal characters? Kevang 15:54, 20 February 2008 (UTC)

Apparently, $wgLegalTitleChars doesn't actually override the illegal chars. If a char is not present and accounted for in $wgLegalTitleChars, it's not permitted in a title. See lines 1265 and 1358-1361 in http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Title.php?view=markup&pathrev=10960. Leaving this var blank would effectively cripple a site. Perhaps the description should be reworded to indicated that this var defines all legal title chars, but in no case overrides illegal chars? Brianko 22:19, 12 August 2010 (UTC)

Consequences of allowing < >
What would happen if these were added? --JimHu 18:51, 20 February 2008 (UTC)

Space character interfering with preg "x"-modifier
The space " " should probably be replaced with  to allow  -modifier usage without side-effects. --Danwe (talk) 01:40, 19 February 2012 (UTC)

Character Substitution

 * would any one else out there like to see a nice way to drop a character (ie: "!" or "$") from the URL of a page?
 * perhaps using this configuration?
 * or is there another configuration setting that allows the sysadmin to easily do that
 * we have been experimenting with mod_rewrite for this (http://s.sjobeck.com/SFjwvR) but without much luck yet
 * thanks
 * --Sjobeck (talk) 18:14, 11 November 2012 (UTC)