Manual:$wgGrammarForms

From mediawiki.org
This page is a translated version of the page Manual:$wgGrammarForms and the translation is 71% complete.
言語、地域、文字エンコードの設定: $wgGrammarForms
{{GRAMMAR:}} パーサー関数で使用される。
導入されたバージョン:1.7.0 (r14381)
除去されたバージョン:使用中
許容される値:(文字列の配列の配列)
既定値:[]

詳細

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

例:

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