r105788 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105787‎ | r105788 | r105789 >
Date:10:14, 11 December 2011
Author:siebrand
Status:ok (Comments)
Tags:
Comment:
MFT r103640 for DefaultSettings.php. Was already merged for WikimediaIncubator in r105776.
Modified paths:
  • /branches/wmf/1.18wmf1/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/includes/DefaultSettings.php
@@ -1851,20 +1851,24 @@
18521852
18531853 /**
18541854 * List of language codes that don't correspond to an actual language.
1855 - * These codes are leftoffs from renames, or other legacy things.
1856 - * Also, qqq is a dummy "language" for documenting messages.
 1855+ * These codes are mostly leftoffs from renames, or other legacy things.
 1856+ * This array makes them not appear as a selectable language on the installer,
 1857+ * and excludes them when running the transstat.php script.
18571858 */
18581859 $wgDummyLanguageCodes = array(
1859 - 'als',
1860 - 'bat-smg',
1861 - 'be-x-old',
1862 - 'fiu-vro',
1863 - 'iu',
1864 - 'nb',
1865 - 'qqq',
1866 - 'qqx',
1867 - 'roa-rup',
1868 - 'simple',
 1860+ 'als' => 'gsw',
 1861+ 'bat-smg' => 'sgs',
 1862+ 'be-x-old' => 'be-tarask',
 1863+ 'bh' => 'bho',
 1864+ 'fiu-vro' => 'vro',
 1865+ 'nb' => 'no',
 1866+ 'qqq' => 'qqq', # Used for message documentation.
 1867+ 'qqx' => 'qqx', # Used for viewing message keys.
 1868+ 'roa-rup' => 'rup',
 1869+ 'simple' => 'en',
 1870+ 'zh-classical' => 'lzh',
 1871+ 'zh-min-nan' => 'nan',
 1872+ 'zh-yue' => 'yue',
18691873 );
18701874
18711875 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r103640Make $wgDummyLanguageCodes an associative array so it maps to the correct cod...robin05:18, 19 November 2011
r105776MFT for WikimediaIncubator: r95582, r96122, r96138, r96141, r97175, r98670, r...siebrand00:32, 11 December 2011

Comments

#Comment by Nikerabbit (talk | contribs)   15:07, 12 December 2011

The only users of this variable in core are in a maintenance script and webinstaller, which are not used on WMF, so this should be fine.

Status & tagging log