dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3936597
)
Remove { and } from legal title chars, as they cause lots of weird problems
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 11 Sep 2004 22:45:59 +0000
(22:45 +0000)
committer
Brion 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
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
6679070
..
b0897da
100644
(file)
--- 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;
}