MediaWiki
REL1_35
CollationCkb.php
Go to the documentation of this file.
1
<?php
21
use
MediaWiki\MediaWikiServices
;
22
30
class
CollationCkb
extends
IcuCollation
{
31
public
function
__construct
() {
32
// This will set $locale and collators, which affect the actual sorting order
33
parent::__construct(
'fa'
);
34
// Override the 'fa' language set by parent constructor, which affects #getFirstLetterData()
35
$this->digitTransformLanguage =
36
MediaWikiServices::getInstance()->getLanguageFactory()->getLanguage(
'ckb'
);
37
}
38
}
CollationCkb
Workaround for the lack of support of Sorani Kurdish / Central Kurdish language ('ckb') in ICU.
Definition
CollationCkb.php:30
CollationCkb\__construct
__construct()
Definition
CollationCkb.php:31
IcuCollation
Definition
IcuCollation.php:26
MediaWiki\MediaWikiServices
MediaWikiServices is the service locator for the application scope of MediaWiki.
Definition
MediaWikiServices.php:152
includes
collation
CollationCkb.php
Generated on Sat Apr 6 2024 00:07:01 for MediaWiki by
1.9.8