From 6671b7e2bb5459ec01bfe38859edb30caba47475 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 11 Sep 2004 22:45:59 +0000 Subject: [PATCH] Remove { and } from legal title chars, as they cause lots of weird problems 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Title.php b/includes/Title.php index 6679070f28..b0897da764 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -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; } -- 2.20.1