MediaWiki
master
CollationCkb.php
Go to the documentation of this file.
1
<?php
21
use
MediaWiki\Languages\LanguageFactory
;
22
31
class
CollationCkb
extends
IcuCollation
{
32
33
public
function
__construct
(
LanguageFactory
$languageFactory ) {
34
wfDeprecated
( __METHOD__,
'1.44'
);
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
}
wfDeprecated
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Logs a warning that a deprecated feature was used.
Definition
GlobalFunctions.php:774
CollationCkb
Workaround for the lack of support of Sorani Kurdish / Central Kurdish language ('ckb') in ICU.
Definition
CollationCkb.php:31
CollationCkb\__construct
__construct(LanguageFactory $languageFactory)
Definition
CollationCkb.php:33
IcuCollation
Definition
IcuCollation.php:29
MediaWiki\Languages\LanguageFactory
Internationalisation code See https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation for more...
Definition
LanguageFactory.php:44
MediaWiki\Languages\LanguageFactory\getLanguage
getLanguage( $code)
Get a cached or new language object for a given language code with normalization of the language code...
Definition
LanguageFactory.php:139
includes
collation
CollationCkb.php
Generated on Fri Jun 20 2025 22:23:57 for MediaWiki by
1.10.0