Jump to content

Manual:$wgParserEnableUserLanguage

From mediawiki.org
This page is a translated version of the page Manual:$wgParserEnableUserLanguage and the translation is 29% complete.
統計とコンテンツ分析: $wgParserEnableUserLanguage
Set this to true to allow the {{USERLANGUAGE}} magic word to return the actual user language.
導入されたバージョン:1.43.0 (Gerrit change 508295; git #10ab0e40)
除去されたバージョン:使用中
許容される値:未指定
既定値:false

詳細

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.