Handbuch:$wgDummyLanguageCodes

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgDummyLanguageCodes and the translation is 18% complete.

Other languages:
Deutsch • ‎English • ‎British English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
Localization: $wgDummyLanguageCodes
List of language codes that have been renamed to new (correct) codes, or don't correspond to an actual interface language.
Eingeführt in Version: 1.16.0 (r60736)
Entfernt in Version: weiterhin vorhanden
Erlaubte Werte: array of strings
Standardwert: It is often different per release, this is the latest value:
array(
	'als' => 'gsw',
	'bat-smg' => 'sgs',
	'be-x-old' => 'be-tarask',
	'bh' => 'bho',
	'fiu-vro' => 'vro',
	'no' => 'nb',
	'qqq' => 'qqq', # Used for message documentation.
	'qqx' => 'qqx', # Used for viewing message keys.
	'roa-rup' => 'rup',
	'simple' => 'en',
	'zh-classical' => 'lzh',
	'zh-min-nan' => 'nan',
	'zh-yue' => 'yue',
);

Andere Einstellungen: Alphabetisch | Nach Funktion

Details[edit | edit source]

This global variable contains an array of language codes that don't have a corresponding set of translated system messages and never will.

  • In most cases they simply map directly to another language code. These codes are left over from renames, or other legacy things.
  • "qqq" is a dummy "language" for documenting messages.
  • "qqx" (since 1.18) is a dummy "language" that can be used with "&uselang=qqx" to view the message names in the interface.

These language codes are excluded on the installer as selectable user or content languages.

Since 1.18, they are excluded when running the transstat.php maintenance script (used for generating localisation statistics).