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:
4190640
)
(r55382) Removed U+200B, zero-width space, from the list of characters to be converte...
author
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 25 Sep 2009 15:15:33 +0000
(15:15 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 25 Sep 2009 15:15:33 +0000
(15:15 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
3ceb7b1
..
4ec6b8e
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-2252,7
+2252,7
@@
class Title {
# input with invalid UTF-8 sequences to be nullified out in PHP 5.2.x,
# conveniently disabling them.
#
- $dbkey = preg_replace( '/[ _\xA0\x{1680}\x{180E}\x{2000}-\x{200
B
}\x{2028}\x{2029}\x{202F}\x{205F}\x{3000}]+/u', '_', $dbkey );
+ $dbkey = preg_replace( '/[ _\xA0\x{1680}\x{180E}\x{2000}-\x{200
A
}\x{2028}\x{2029}\x{202F}\x{205F}\x{3000}]+/u', '_', $dbkey );
$dbkey = trim( $dbkey, '_' );
if ( '' == $dbkey ) {