Index: trunk/phase3/languages/classes/LanguageZh.php |
— | — | @@ -135,14 +135,6 @@ |
136 | 136 | $variants_all = array('zh','zh-hans','zh-hant','zh-cn','zh-hk','zh-mo','zh-my','zh-sg','zh-tw'); |
137 | 137 | $variants = array(); |
138 | 138 | |
139 | | - // If a wiki disabled some variants, |
140 | | - // LanguageConverter shouldn't process them |
141 | | - foreach( $variants_all as $variant ) { |
142 | | - $status = wfMsgExt( "variantname-$variant", array( 'parsemag', 'language' => $this ) ); |
143 | | - if( trim($status) != 'disable' ) |
144 | | - $variants[] = $variant; |
145 | | - } |
146 | | - |
147 | 139 | $variantfallbacks = array( |
148 | 140 | 'zh' => array('zh-hans','zh-hant','zh-cn','zh-tw','zh-hk','zh-sg','zh-mo','zh-my'), |
149 | 141 | 'zh-hans' => array('zh-cn','zh-sg','zh-my'), |