Jump to content

Manual:$wgGrammarForms

From mediawiki.org
This page is a translated version of the page Manual:$wgGrammarForms and the translation is 43% complete.
Language, regional and character encoding settings: $wgGrammarForms
Used for {{GRAMMAR:}} parser function.
Introducido en la versión:1.7.0 (r14381)
Eliminado en la versión:aún se usa
Valores permitidos:(array of array of strings)
Valor predeterminado:[]

Detalles

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

Ejemplo:

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