Index: branches/wmf-deployment/languages/classes/LanguageZh.php |
— | — | @@ -132,17 +132,8 @@ |
133 | 133 | global $wgHooks; |
134 | 134 | parent::__construct(); |
135 | 135 | |
136 | | - $variants_all = array('zh','zh-hans','zh-hant','zh-cn','zh-hk','zh-mo','zh-my','zh-sg','zh-tw'); |
137 | | - $variants = array(); |
| 136 | + $variants = array('zh','zh-hans','zh-hant','zh-cn','zh-hk','zh-mo','zh-my','zh-sg','zh-tw'); |
138 | 137 | |
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 | 138 | $variantfallbacks = array( |
148 | 139 | 'zh' => array('zh-hans','zh-hant','zh-cn','zh-tw','zh-hk','zh-sg','zh-mo','zh-my'), |
149 | 140 | 'zh-hans' => array('zh-cn','zh-sg','zh-my'), |