Jump to content

Manual:$wgParserEnableUserLanguage

From mediawiki.org
This page is a translated version of the page Manual:$wgParserEnableUserLanguage and the translation is 14% complete.
Statistics and content analysis: $wgParserEnableUserLanguage
Set this to true to allow the {{USERLANGUAGE}} magic word to return the actual user language.
Introducido en la versión:1.43.0 (Gerrit change 508295; git #10ab0e40)
Eliminado en la versión:aún se usa
Valores permitidos:no especificado
Valor predeterminado:false

Details

Set this to true to allow the {{USERLANGUAGE}} magic word to return the actual user language. If it is false, {{USERLANGUAGE}} will return the page language. Setting this to true is discouraged since the page language should typically be used in the content area. Accessing the user language using this feature reduces the efficiency of the parser cache.