Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -337,15 +337,13 @@ |
338 | 338 | |
339 | 339 | $languageUrls = array(); |
340 | 340 | |
341 | | - if ( $wgLanguageCode == 'en' ) { |
342 | | - $languageUrls[] = array( |
343 | | - 'href' => self::$currentURL, |
344 | | - 'text' => self::$htmlTitle, |
345 | | - 'language' => $wgContLang->getLanguageName( $wgLanguageCode ), |
346 | | - 'class' => 'interwiki-' . $wgLanguageCode, |
347 | | - 'lang' => $wgLanguageCode, |
348 | | - ); |
349 | | - } |
| 341 | + $languageUrls[] = array( |
| 342 | + 'href' => self::$currentURL, |
| 343 | + 'text' => self::$htmlTitle, |
| 344 | + 'language' => $wgContLang->getLanguageName( $wgLanguageCode ), |
| 345 | + 'class' => 'interwiki-' . $wgLanguageCode, |
| 346 | + 'lang' => $wgLanguageCode, |
| 347 | + ); |
350 | 348 | |
351 | 349 | foreach( $wgOut->getLanguageLinks() as $l ) { |
352 | 350 | if ( preg_match( '!^(\w[-\w]*\w):(.+)$!', $l, $m ) ) { |