39 MediaWikiServices::getInstance()->getMainConfig()->get( MainConfigNames::GrammarForms );
40 if ( isset( $grammarForms[
'kaa'][$case][$word] ) ) {
41 return $grammarForms[
'kaa'][$case][$word];
53 if ( str_starts_with( $str,
'ı' ) ) {
54 return 'Í' . mb_substr( $str, 1 );
56 return parent::ucfirst( $str );
65 if ( str_starts_with( $str,
'Í' ) ) {
66 return 'ı' . mb_substr( $str, 1 );
68 return parent::lcfirst( $str );
Karakalpak (Qaraqalpaqsha)
lcfirst( $str)
Fixes an issue with lcfirst for transforming 'Í' to 'ı'.
convertGrammar( $word, $case)
Cases: genitive, dative, accusative, locative, ablative, comitative + possessive forms.
ucfirst( $str)
Fixes an issue with ucfirst for transforming 'ı' to 'Í'.
A class containing constants representing the names of configuration variables.