31 # Convert from the nominative form of a noun to some other case
32 # Invoked with {{GRAMMAR:case|word}}
58 if (
substr( $string, 0, 1 ) ===
'i' ) {
59 return 'İ' .
substr( $string, 1 );
61 return parent::ucfirst( $string );
72 if (
substr( $string, 0, 1 ) ===
'I' ) {
73 return 'ı' .
substr( $string, 1 );
75 return parent::lcfirst( $string );
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
$wgGrammarForms
Some languages need different word forms, usually for different cases.
Karakalpak (Qaraqalpaqsha)
lcfirst( $string)
It fixes issue with lcfirst for transforming 'I' to 'ı'.
convertGrammar( $word, $case)
Cases: genitive, dative, accusative, locative, ablative, comitative + possessive forms.
ucfirst( $string)
It fixes issue with ucfirst for transforming 'i' to 'İ'.
Internationalisation code.