Manual:$wgContLang
From MediaWiki.org
| Global object: $wgContLang | |
|---|---|
| Content language | |
| Class: | Language |
| Located in: | Language.php |
[edit] Details
The content language object is the Language object associated with the wiki being viewed. It is one of two global language objects ($wgLang is the other). Language objects represent the language used for incidental text, and also has some character encoding functions and other locale stuff. The language is defined in $wgLanguageCode.