(r55382) Removed U+200B, zero-width space, from the list of characters to be converte...
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 25 Sep 2009 15:15:33 +0000 (15:15 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 25 Sep 2009 15:15:33 +0000 (15:15 +0000)
includes/Title.php

index 3ceb7b1..4ec6b8e 100644 (file)
@@ -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{200B}\x{2028}\x{2029}\x{202F}\x{205F}\x{3000}]+/u', '_', $dbkey );
+               $dbkey = preg_replace( '/[ _\xA0\x{1680}\x{180E}\x{2000}-\x{200A}\x{2028}\x{2029}\x{202F}\x{205F}\x{3000}]+/u', '_', $dbkey );
                $dbkey = trim( $dbkey, '_' );
 
                if ( '' == $dbkey ) {