MediaWiki
master
CollationCkb.php
Go to the documentation of this file.
1
<?php
7
namespace
MediaWiki\Collation
;
8
9
use MediaWiki\Languages\LanguageFactory;
10
19
class
CollationCkb
extends
IcuCollation
{
20
21
public
function
__construct
( LanguageFactory $languageFactory ) {
22
wfDeprecated
( __METHOD__,
'1.44'
);
23
// This will set $locale and collators, which affect the actual sorting order
24
parent::__construct( $languageFactory,
'fa'
);
25
// Override the 'fa' language set by parent constructor, which affects #getFirstLetterData()
26
$this->digitTransformLanguage = $languageFactory->getLanguage(
'ckb'
);
27
}
28
}
29
31
class_alias( CollationCkb::class,
'CollationCkb'
);
wfDeprecated
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Logs a warning that a deprecated feature was used.
Definition
GlobalFunctions.php:736
MediaWiki\Collation\CollationCkb
Workaround for the lack of support of Sorani Kurdish / Central Kurdish language ('ckb') in ICU.
Definition
CollationCkb.php:19
MediaWiki\Collation\CollationCkb\__construct
__construct(LanguageFactory $languageFactory)
Definition
CollationCkb.php:21
MediaWiki\Collation\IcuCollation
Definition
IcuCollation.php:20
MediaWiki\Collation
Definition
AbkhazUppercaseCollation.php:9
includes
Collation
CollationCkb.php
Generated on Mon Jan 19 2026 11:24:12 for MediaWiki by
1.10.0