Manual:$wgGrammarForms/en

Details
Some languages need different word forms, usually for different cases. Used by method $convertGrammar to implement the $GRAMMAR parser function.

Example: