MediaWiki master
CollationCkb.php
Go to the documentation of this file.
1<?php
7namespace MediaWiki\Collation;
8
9use MediaWiki\Languages\LanguageFactory;
10
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
31class_alias( CollationCkb::class, 'CollationCkb' );
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Logs a warning that a deprecated feature was used.
Workaround for the lack of support of Sorani Kurdish / Central Kurdish language ('ckb') in ICU.
__construct(LanguageFactory $languageFactory)