Jump to navigation Jump to search
Other languages:
English • ‎Nederlands • ‎français • ‎magyar • ‎日本語
Localization: $wgExtraLanguageCodes
List of mappings from one language code to another
Introduced in version:1.29.0 (git #48ab87d0)
Removed in version:still in use
Allowed values:(Array of strings)
Default value:
    'bh' => 'bho', // Bihari language family
    'no' => 'nb', // Norwegian language family
    'simple' => 'en', // Simple English


This array makes the codes not appear as a selectable language on the installer, and excludes them when running the transstat.php script.

In Setup.php, the variable $wgDummyLanguageCodes is created by combining these codes with a list of "deprecated" codes, which are mostly leftovers from renames or other legacy things, and the internal codes 'qqq' and 'qqx'.

A mapping in $wgExtraLanguageCodes takes precedence over built-in mappings.

See also[edit]