r96230 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96229‎ | r96230 | r96231 >
Date:15:30, 4 September 2011
Author:robin
Status:ok
Tags:
Comment:
Add zh-min-nan, zh-yue, zh-classical to dummy language codes, and mention the "redirect destination" or purpose of each code.
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -1854,21 +1854,23 @@
18551855 /**
18561856 * List of language codes that don't correspond to an actual language.
18571857 * These codes are mostly leftoffs from renames, or other legacy things.
1858 - * Also, qqq is a dummy "language" for documenting messages.
18591858 * This array makes them not appear as a selectable language on the installer,
18601859 * and excludes them when running the transstat.php script.
18611860 */
18621861 $wgDummyLanguageCodes = array(
1863 - 'als',
1864 - 'bat-smg',
1865 - 'be-x-old',
1866 - 'bh',
1867 - 'fiu-vro',
1868 - 'nb',
1869 - 'qqq',
1870 - 'qqx',
1871 - 'roa-rup',
1872 - 'simple',
 1862+ 'als', # => 'gsw'
 1863+ 'bat-smg', # => 'sgs'
 1864+ 'be-x-old', # => 'be-tarask'
 1865+ 'bh', # => 'bho'
 1866+ 'fiu-vro', # => 'vro'
 1867+ 'nb', # => 'no'
 1868+ 'qqq', # Used for message documentation.
 1869+ 'qqx', # Used for viewing message keys.
 1870+ 'roa-rup', # => 'rup'
 1871+ 'simple', # => 'en'
 1872+ 'zh-classical', # => 'lzh'
 1873+ 'zh-min-nan', # => 'nan'
 1874+ 'zh-yue', # => 'yue'
18731875 );
18741876
18751877 /**

Status & tagging log