Revert r47755 "(bug 16899) DISPLAYTITLE should allow Arabic and Persian harakats"
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 25 Mar 2009 11:35:02 +0000 (11:35 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 25 Mar 2009 11:35:02 +0000 (11:35 +0000)
This doesn't seem to allow things in DISPLAYTITLE, but rather forbid things in regular titles. Reasoning behind it is unclear.

RELEASE-NOTES
includes/Title.php

index bd17d56..99c74fd 100644 (file)
@@ -255,7 +255,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 17460) Client ecoding is now correctly set for PostgreSQL
 * (bug 17648) Prevent floats from intruding into edit area in previews if no
   toolbar present
-* (bug 16899) DISPLAYTITLE should allow Arabic and Persian harakats
 * (bug 17692) Added (list of members) link to 'user' in Special:Listgrouprights
 * (bug 17707) Show file destination as plain text if &wpForReUpload=1
 * (bug 10172) Moved setting of "changed since last visit" flags out of the job
index 85451de..f6c0d5d 100644 (file)
@@ -2197,9 +2197,6 @@ class Title {
                #
                $dbkey = preg_replace( '/[ _]+/', '_', $dbkey );
                $dbkey = trim( $dbkey, '_' );
-               
-               # Clean up Arabic harakats (bug 16899)
-               $dbkey = preg_replace( '/[\x{064B}-\x{0652}]/Su', '', $dbkey );
 
                if ( '' == $dbkey ) {
                        return false;