Remove { and } from legal title chars, as they cause lots of weird problems
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 11 Sep 2004 22:45:59 +0000 (22:45 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 11 Sep 2004 22:45:59 +0000 (22:45 +0000)
being special markup characters. Should not have been added in early 1.3.
* Bug 267: Entering {{...}} as the title causes a page rendering error
* http://bugzilla.wikipedia.org/show_bug.cgi?id=267

includes/Title.php

index 6679070..b0897da 100644 (file)
@@ -228,7 +228,7 @@ class Title {
                # Theoretically 0x80-0x9F of ISO 8859-1 should be disallowed, but
                # this breaks interlanguage links
                
-               $set = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z{}~\\x80-\\xFF";
+               $set = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF";
                return $set;
        }