From: Brion Vibber Date: Wed, 25 Mar 2009 11:35:02 +0000 (+0000) Subject: Revert r47755 "(bug 16899) DISPLAYTITLE should allow Arabic and Persian harakats" X-Git-Tag: 1.31.0-rc.0~42369 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=88d4b507612c369c769bb02943d1489da57b7e1e;p=lhc%2Fweb%2Fwiklou.git Revert r47755 "(bug 16899) DISPLAYTITLE should allow Arabic and Persian harakats" This doesn't seem to allow things in DISPLAYTITLE, but rather forbid things in regular titles. Reasoning behind it is unclear. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index bd17d563b5..99c74fd600 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 diff --git a/includes/Title.php b/includes/Title.php index 85451de032..f6c0d5de6c 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -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;