From: Amir Sarabadani Date: Wed, 20 Jul 2016 13:05:12 +0000 (+0430) Subject: Do not collate "ا" and "و" in Persian language for category sort X-Git-Tag: 1.31.0-rc.0~6334 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=7e657277bfd955aa9e51b28a664c3a3483ba2e24;p=lhc%2Fweb%2Fwiklou.git Do not collate "ا" and "و" in Persian language for category sort Bug: T139110 Change-Id: If174e02160c954500233e3a57945e267f2b4ae29 --- diff --git a/includes/collation/IcuCollation.php b/includes/collation/IcuCollation.php index 27f917bd76..b956d4b30c 100644 --- a/includes/collation/IcuCollation.php +++ b/includes/collation/IcuCollation.php @@ -93,7 +93,14 @@ class IcuCollation extends Collation { '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" ],