Merge "Handle missing namespace prefix in XML dumps more gracefully"
[lhc/web/wiklou.git] / includes / collation / CollationEt.php
index d80bce3..ca7b765 100644 (file)
  */
 
 /**
- * Workaround for incorrect collation of Estonian language ('et') in ICU (bug 54168).
+ * Workaround for incorrect collation of Estonian language ('et') in ICU (T56168).
  *
  * 'W' and 'V' should not be considered the same letter for the purposes of collation in modern
  * Estonian. We work around this by replacing 'W' and 'w' with 'ᴡ' U+1D21 'LATIN LETTER SMALL
  * CAPITAL W' for sortkey generation, which is collated like 'W' and is not tailored to have the
  * same primary weight as 'V' in Estonian.
+ *
+ * @since 1.24
  */
 class CollationEt extends IcuCollation {
-       function __construct() {
+       public function __construct() {
                parent::__construct( 'et' );
        }
 
@@ -48,11 +50,11 @@ class CollationEt extends IcuCollation {
                );
        }
 
-       function getSortKey( $string ) {
+       public function getSortKey( $string ) {
                return parent::getSortKey( self::mangle( $string ) );
        }
 
-       function getFirstLetter( $string ) {
+       public function getFirstLetter( $string ) {
                return self::unmangle( parent::getFirstLetter( self::mangle( $string ) ) );
        }
 }