Manual:$wgParserEnableUserLanguage

Category:MediaWiki configuration settings#ParserEnableUserLanguageCategory:MediaWiki configuration settings introduced in version 1.43.0#ParserEnableUserLanguageCategory:MediaWiki configuration settings still in use#ParserEnableUserLanguageCategory:Site Statistics variables#ParserEnableUserLanguage
Statistics and content analysis: $wgParserEnableUserLanguage
Set this to true to allow the {{USERLANGUAGE}} magic word to return the actual user language.
Introduced in version:1.43.0 (Gerrit change 508295; git #10ab0e40)
Removed in version:Still in use
Allowed values:Unspecified
Default value: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.

Category:MediaWiki configuration settings Category:MediaWiki configuration settings introduced in version 1.43.0 Category:MediaWiki configuration settings still in use Category:Site Statistics variables