Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F5241
harakat3.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 10:23 PM
2014-11-21 22:23:39 (UTC+0)
Size
413 B
Referenced Files
None
Subscribers
None
harakat3.patch
View Options
Index: Title.php
===================================================================
--- Title.php (revision 47682)
+++ Title.php (working copy)
@@ -2175,6 +2175,9 @@
$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;
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4802
Default Alt Text
harakat3.patch (413 B)
Attached To
Mode
T18899: DISPLAYTITLE should allow Arabic and Persian harakats
Attached
Detach File
Event Timeline
Log In to Comment