IcuCollation::$tailoringFirstLetters: letter removal rules for Finnish
authorMatmaRex <matma.rex@gmail.com>
Wed, 20 Mar 2013 23:12:00 +0000 (00:12 +0100)
committerMatmaRex <matma.rex@gmail.com>
Wed, 20 Mar 2013 23:12:00 +0000 (00:12 +0100)
Four non-ASCII letters - Ǥ, Ŋ, Ŧ, Ʒ - are sorted the same as their
unaccented base ASCII versions - G, N, T, Z - causing unexpected
output on category pages.

Bug: 46330
Change-Id: I976dedfdc651fcc96a2291934924aa40b27f4c2f

includes/Collation.php

index a0e1d2d..2cbe3c1 100644 (file)
@@ -208,6 +208,7 @@ class IcuCollation extends Collation {
                'be-tarask' => array( "Ё" ),
                'en' => array(),
                'fi' => array( "Å", "Ä", "Ö" ),
+               '-fi' => array( "Ǥ", "Ŋ", "Ŧ", "Ʒ" ), // sorted like G, N, T, Z - bug 46330
                'hu' => array( "Cs", "Dz", "Dzs", "Gy", "Ly", "Ny", "Ö", "Sz", "Ty", "Ü", "Zs" ),
                'it' => array(),
                'pl' => array( "Ą", "Ć", "Ę", "Ł", "Ń", "Ó", "Ś", "Ź", "Ż" ),