Index: trunk/extensions/Translate/tag/SpecialPageTranslation.php |
— | — | @@ -701,7 +701,7 @@ |
702 | 702 | $npLangs = array_map( 'trim', explode( ',', $npLangs ) ); |
703 | 703 | $npLangs = array_unique( $npLangs ); |
704 | 704 | // Remove invalid language codes. |
705 | | - $languages = Language::fetchLanguageNames( null, 'mw' ); |
| 705 | + $languages = Language::getLanguageNames(); |
706 | 706 | foreach ( $npLangs as $index => $language ) { |
707 | 707 | if( !array_key_exists( $language, $languages ) ) { |
708 | 708 | unset( $npLangs[$index] ); |