r33124 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33123‎ | r33124 | r33125 >
Date:11:49, 11 April 2008
Author:siebrand
Status:old
Tags:
Comment:
Remove unused 'sr' variants 'sr-jc' and 'sr-jl'.

Project once started with currently no intention to revive.
Modified paths:
  • /trunk/phase3/languages/Names.php (modified) (history)
  • /trunk/phase3/languages/classes/LanguageSr.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesSr_ec.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesSr_el.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesSr_jc.php (deleted) (history)
  • /trunk/phase3/languages/messages/MessagesSr_jl.php (deleted) (history)
  • /trunk/phase3/languages/messages/MessagesYue.php (modified) (history)
  • /trunk/phase3/maintenance/fuzz-tester.php (modified) (history)
  • /trunk/phase3/maintenance/language/messageTypes.inc (modified) (history)
  • /trunk/phase3/maintenance/language/messages.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/fuzz-tester.php
@@ -1318,7 +1318,7 @@
13191319 "li", "lo", "lt", "lv", "mk", "ml", "ms", "nah", "nap", "nds",
13201320 "nds-nl", "nl", "nn", "no", "non", "nv", "oc", "or", "os", "pa",
13211321 "pl", "pms", "ps", "pt", "pt-br", "qu", "rmy", "ro", "ru", "sc",
1322 - "sd", "sk", "sl", "sq", "sr", "sr-ec", "sr-el", "sr-jc", "sr-jl",
 1322+ "sd", "sk", "sl", "sq", "sr", "sr-ec", "sr-el",
13231323 "su", "sv", "ta", "te", "th", "tlh", "tr", "tt", "ty", "tyv", "udm",
13241324 "ug", "uk", "ur", "utf8", "vec", "vi", "wa", "xal", "yi", "za",
13251325 "zh", "zh-cn", "zh-hk", "zh-sg", "zh-tw", "zh-tw") ),
Index: trunk/phase3/maintenance/language/messages.inc
@@ -1886,8 +1886,6 @@
18871887 'variantname-sr' => array(
18881888 'variantname-sr-ec',
18891889 'variantname-sr-el',
1890 - 'variantname-sr-jc',
1891 - 'variantname-sr-jl',
18921890 'variantname-sr',
18931891 ),
18941892 'variantname-kk' => array(
Index: trunk/phase3/maintenance/language/messageTypes.inc
@@ -171,8 +171,6 @@
172172 'variantname-zh',
173173 'variantname-sr-ec',
174174 'variantname-sr-el',
175 - 'variantname-sr-jc',
176 - 'variantname-sr-jl',
177175 'variantname-sr',
178176 'variantname-kk-arab',
179177 'variantname-kk-cyrl',
Index: trunk/phase3/languages/messages/MessagesSr_jc.php
@@ -1,7 +0,0 @@
2 -<?php
3 -/**
4 - * @addtogroup Language
5 - */
6 -
7 -# Inherit everything for now
8 -$fallback = 'sr-ec';
Index: trunk/phase3/languages/messages/MessagesSr_jl.php
@@ -1,7 +0,0 @@
2 -<?php
3 -/**
4 - * @addtogroup Language
5 - */
6 -
7 -# Inherit everything for now
8 -$fallback = 'sr-ec';
Index: trunk/phase3/languages/messages/MessagesSr_el.php
@@ -1639,8 +1639,6 @@
16401640 # Variants for Serbian language
16411641 'variantname-sr-ec' => 'ћирилица',
16421642 'variantname-sr-el' => 'latinica',
1643 -'variantname-sr-jc' => 'jekav',
1644 -'variantname-sr-jl' => 'jekav',
16451643 'variantname-sr' => 'disable',
16461644
16471645 # Metadata
Index: trunk/phase3/languages/messages/MessagesYue.php
@@ -2042,8 +2042,6 @@
20432043 # Variants for Serbian language
20442044 'variantname-sr-ec' => '斯拉夫易卡語',
20452045 'variantname-sr-el' => '拉丁易卡語',
2046 -'variantname-sr-jc' => '斯拉夫耶卡語',
2047 -'variantname-sr-jl' => '拉丁耶卡語',
20482046 'variantname-sr' => '無變換',
20492047
20502048 # Variants for Kazakh language
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -2671,8 +2671,6 @@
26722672 # Variants for Serbian language
26732673 'variantname-sr-ec' => 'sr-ec', # only translate this message to other languages if you have to change it
26742674 'variantname-sr-el' => 'sr-el', # only translate this message to other languages if you have to change it
2675 -'variantname-sr-jc' => 'sr-jc', # only translate this message to other languages if you have to change it
2676 -'variantname-sr-jl' => 'sr-jl', # only translate this message to other languages if you have to change it
26772675 'variantname-sr' => 'sr', # only translate this message to other languages if you have to change it
26782676
26792677 # Variants for Kazakh language
Index: trunk/phase3/languages/messages/MessagesSr_ec.php
@@ -2005,8 +2005,6 @@
20062006 # Variants for Serbian language
20072007 'variantname-sr-ec' => 'ћирилица',
20082008 'variantname-sr-el' => 'latinica',
2009 -'variantname-sr-jc' => 'јекав',
2010 -'variantname-sr-jl' => 'jekav',
20112009 'variantname-sr' => 'disable',
20122010
20132011 # Metadata
Index: trunk/phase3/languages/Names.php
@@ -275,9 +275,7 @@
276276 'sq' => 'Shqip', # Albanian
277277 'sr' => 'Српски / Srpski', # Serbian
278278 'sr-ec' => 'ћирилица', # Serbian cyrillic ekavian
279 - 'sr-jc' => 'ијекавица', # Serbian cyrillic iyekvian # 2008-04-10: probably obsolete. 'sr' community has been asked for clarity
280279 'sr-el' => 'latinica', # Serbian latin ekavian
281 - 'sr-jl' => 'ijekavica', # Serbian latin iyekavian # 2008-04-10: probably obsolete. 'sr' community has been asked for clarity
282280 'srn' => 'Sranantongo', # Sranan Tongo
283281 'ss' => 'SiSwati', # Swati
284282 'st' => 'Sesotho', # Southern Sotho
Index: trunk/phase3/languages/classes/LanguageSr.php
@@ -54,9 +54,7 @@
5555 function loadDefaultTables() {
5656 $this->mTables = array(
5757 'sr-ec' => new ReplacementArray( $this->mToCyrillics ),
58 - 'sr-jc' => new ReplacementArray( $this->mToCyrillics),
5958 'sr-el' => new ReplacementArray( $this->mToLatin),
60 - 'sr-jl' => new ReplacementArray( $this->mToLatin),
6159 'sr' => new ReplacementArray()
6260 );
6361 }
@@ -169,8 +167,6 @@
170168
171169 parent::__construct();
172170
173 - // these variants are currently UNUSED:
174 - // 'sr-jc', 'sr-jl'
175171 $variants = array('sr', 'sr-ec', 'sr-el');
176172 $variantfallbacks = array(
177173 'sr' => 'sr-ec',

Status & tagging log