Manual:$wgExtraLanguageCodes/de

Category:MediaWiki configuration settings/de#ExtraLanguageCodesCategory:MediaWiki configuration settings introduced in version 1.29.0/de#ExtraLanguageCodesCategory:MediaWiki configuration settings still in use/de#ExtraLanguageCodesCategory:Interwiki variables/de#ExtraLanguageCodes
Einstellungen für Sprache, Region und Zeichenkodierung: $wgExtraLanguageCodes
List of mappings from one language code to another
Eingeführt in Version:1.29.0 (Gerrit change 331208; git #48ab87d0)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Array von Zeichenketten)
Standardwert:
[
    'bh' => 'bho', // Bihari language family
    'no' => 'nb', // Norwegian language family
    'simple' => 'en', // Simple English
]

Details

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.

Siehe auch

Category:Interwiki variables/de Category:MediaWiki configuration settings/de Category:MediaWiki configuration settings introduced in version 1.29.0/de Category:MediaWiki configuration settings still in use/de