41 MediaWikiServices::getInstance()->getMainConfig()->get( MainConfigNames::GrammarForms );
42 if ( isset( $grammarForms[
'dsb'][$case][$word] ) ) {
43 return $grammarForms[
'dsb'][$case][$word];
47 case 'instrumental': # instrumental
50 case 'lokatiw': # lokatiw
51 $word =
'wo ' . $word;
55 # this will return the original value for 'nominatiw' (nominativ) and
56 # all undefined case values.
Lower Sorbian (Dolnoserbski) specific code.
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.