43 MediaWikiServices::getInstance()->getMainConfig()->get( MainConfigNames::GrammarForms );
44 if ( isset( $grammarForms[
'bs'][$case][$word] ) ) {
45 return $grammarForms[
'bs'][$case][$word];
48 case 'instrumental': # instrumental
51 case 'lokativ': # locative
56 # this will return the original value for 'nominativ' (nominative)
57 # and all undefined case values.
convertGrammar( $word, $case)
Convert from the nominative form of a noun to some other case Invoked with {{GRAMMAR:case|word}}.
Base class for language-specific code.
A class containing constants representing the names of configuration variables.