MediaWiki REL1_35
CollationCkb.php
Go to the documentation of this file.
1<?php
22
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}
Workaround for the lack of support of Sorani Kurdish / Central Kurdish language ('ckb') in ICU.
MediaWikiServices is the service locator for the application scope of MediaWiki.