}
}
- # Convert from the nominative form of a noun to some other case
- # Invoked with {{GRAMMAR:case|word}}
/**
+ * Convert from the nominative form of a noun to some other case
+ * Invoked with {{GRAMMAR:case|word}}
+ *
* Cases: genitiv, dativ, akuzativ, vokativ, instrumental, lokativ
+ *
+ * @param $word string
+ * @param $case string
+ *
+ * @return string
*/
function convertGrammar( $word, $case ) {
global $wgGrammarForms;