jenkins-bot has submitted this change and it was merged.

Change subject: Do not collate "ا" and "و" in Persian language for category sort
......................................................................


Do not collate "ا" and "و" in Persian language for category sort

Bug: T139110
Change-Id: If174e02160c954500233e3a57945e267f2b4ae29
---
M includes/collation/IcuCollation.php
1 file changed, 8 insertions(+), 1 deletion(-)

Approvals:
  Amire80: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/collation/IcuCollation.php 
b/includes/collation/IcuCollation.php
index 27f917b..b956d4b 100644
--- a/includes/collation/IcuCollation.php
+++ b/includes/collation/IcuCollation.php
@@ -93,7 +93,14 @@
                'be-tarask' => [ "Ё" ],
                'cy' => [ "Ch", "Dd", "Ff", "Ng", "Ll", "Ph", "Rh", "Th" ],
                'en' => [],
-               'fa' => [ "آ", "ء", "ه" ],
+               // RTL, let's put each letter on a new line
+               'fa' => [
+                       "آ",
+                       "ء",
+                       "ه",
+                       "ا",
+                       "و"
+               ],
                'fi' => [ "Å", "Ä", "Ö" ],
                'fr' => [],
                'hu' => [ "Cs", "Dz", "Dzs", "Gy", "Ly", "Ny", "Ö", "Sz", "Ty", 
"Ü", "Zs" ],

-- 
To view, visit https://gerrit.wikimedia.org/r/300001
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If174e02160c954500233e3a57945e267f2b4ae29
Gerrit-PatchSet: 6
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Ladsgroup <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to