From 7e657277bfd955aa9e51b28a664c3a3483ba2e24 Mon Sep 17 00:00:00 2001 From: Amir Sarabadani Date: Wed, 20 Jul 2016 17:35:12 +0430 Subject: [PATCH] =?utf8?q?Do=20not=20collate=20"=D8=A7"=20and=20"=D9=88"?= =?utf8?q?=20in=20Persian=20language=20for=20category=20sort?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Bug: T139110 Change-Id: If174e02160c954500233e3a57945e267f2b4ae29 --- includes/collation/IcuCollation.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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" ], -- 2.20.1