diff options
author | Amir Sarabadani <ladsgroup@gmail.com> | 2017-08-19 00:59:56 +0400 |
---|---|---|
committer | Thiemo Mättig (WMDE) <thiemo.maettig@wikimedia.de> | 2017-08-31 08:02:08 +0000 |
commit | 2ceba3b1459b80912aeafa698ccea99af8a9f24d (patch) | |
tree | fa84d1f330e8d353b1569ba8fc8f026d223e9342 /includes | |
parent | 15e60f03985dabc302750d29029e54012dc99e60 (diff) | |
download | mediawikicore-2ceba3b1459b80912aeafa698ccea99af8a9f24d.tar.gz mediawikicore-2ceba3b1459b80912aeafa698ccea99af8a9f24d.zip |
Move around "ا" to after "آ" and not before
Bug: T173601
Change-Id: I0f6b3ecc2800180a2c6a8217803411862a299e04
Diffstat (limited to 'includes')
-rw-r--r-- | includes/collation/CollationFa.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/includes/collation/CollationFa.php b/includes/collation/CollationFa.php index fb46ab4b70a2..7410886ecad6 100644 --- a/includes/collation/CollationFa.php +++ b/includes/collation/CollationFa.php @@ -32,9 +32,13 @@ class CollationFa extends IcuCollation { // Really hacky - replace with stuff from other blocks. private $override = [ - "\xd8\xa7" => "\xd8\xa1", + // U+0627 ARABIC LETTER ALEF => U+0623 ARABIC LETTER ALEF WITH HAMZA ABOVE + "\xd8\xa7" => "\xd8\xa3", + // U+0648 ARABIC LETTER WAW => U+0649 ARABIC LETTER ALEF MAKSURA "\xd9\x88" => "\xd9\x89", + // U+0672 ARABIC LETTER ALEF WITH WAVY HAMZA ABOVE => U+F3001 (private use area) "\xd9\xb2" => "\xF3\xB3\x80\x81", + // U+0673 ARABIC LETTER ALEF WITH WAVY HAMZA BELOW => U+F3002 (private use area) "\xd9\xb3" => "\xF3\xB3\x80\x82", ]; |