38 MediaWikiServices::getInstance()->getMainConfig()->get( MainConfigNames::GrammarForms );
39 if ( isset( $grammarForms[
'kaa'][$case][$word] ) ) {
40 return $grammarForms[
'kaa'][$case][$word];
52 if ( substr( $str, 0, 1 ) ===
'i' ) {
53 return 'İ' . substr( $str, 1 );
55 return parent::ucfirst( $str );
64 if ( substr( $str, 0, 1 ) ===
'I' ) {
65 return 'ı' . substr( $str, 1 );
67 return parent::lcfirst( $str );
Karakalpak (Qaraqalpaqsha)
lcfirst( $str)
Fixes an issue with lcfirst for transforming 'I' to 'ı'.
convertGrammar( $word, $case)
Cases: genitive, dative, accusative, locative, ablative, comitative + possessive forms.
ucfirst( $str)
Fixes an issue with ucfirst for transforming 'i' to 'İ'.
Base class for language-specific code.
A class containing constants representing the names of configuration variables.