Jump to content

Handbuch:$wgGrammarForms

From mediawiki.org
This page is a translated version of the page Manual:$wgGrammarForms and the translation is 43% complete.
Einstellungen für Sprache, Region und Zeichenkodierung: $wgGrammarForms
Used for {{GRAMMAR:}} parser function.
Eingeführt in Version:1.7.0 (r14381)
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:(array of array of strings)
Standardwert:[]

Details

Some languages need different word forms, usually for different cases. Used by method Language::convertGrammar to implement the {{GRAMMAR:}} parser function.

Beispiel:

$wgGrammarForms['en']['genitive']['car'] = 'car\'s';