MediaWiki
REL1_37
CollationCkb.php
Go to the documentation of this file.
1
<?php
21
use
MediaWiki\Languages\LanguageFactory
;
22
30
class
CollationCkb
extends
IcuCollation
{
34
public
function
__construct
(
LanguageFactory
$languageFactory ) {
35
// This will set $locale and collators, which affect the actual sorting order
36
parent::__construct( $languageFactory,
'fa'
);
37
// Override the 'fa' language set by parent constructor, which affects #getFirstLetterData()
38
$this->digitTransformLanguage = $languageFactory->
getLanguage
(
'ckb'
);
39
}
40
}
CollationCkb
Workaround for the lack of support of Sorani Kurdish / Central Kurdish language ('ckb') in ICU.
Definition
CollationCkb.php:30
CollationCkb\__construct
__construct(LanguageFactory $languageFactory)
Definition
CollationCkb.php:34
IcuCollation
Definition
IcuCollation.php:26
MediaWiki\Languages\LanguageFactory
Internationalisation code See https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation for more...
Definition
LanguageFactory.php:42
MediaWiki\Languages\LanguageFactory\getLanguage
getLanguage( $code)
Get a cached or new language object for a given language code.
Definition
LanguageFactory.php:111
includes
collation
CollationCkb.php
Generated on Fri Apr 5 2024 23:40:07 for MediaWiki by
1.9.8