Index: trunk/extensions/I18nTags/I18nTags_body.php |
— | — | @@ -57,9 +57,8 @@ |
58 | 58 | if ( !$code ) { |
59 | 59 | return ''; |
60 | 60 | } |
61 | | - $native = $native === 'native'; |
62 | | - $cldr = is_callable(array( 'LanguageNames', 'getNames' )); |
63 | | - if ( !$native && $cldr ) { |
| 61 | + $cldr = is_callable( array( 'LanguageNames', 'getNames' )); |
| 62 | + if ( $native !== 'native' && $cldr ) { |
64 | 63 | $languages = LanguageNames::getNames( $wgLang->getCode(), |
65 | 64 | LanguageNames::FALLBACK_NORMAL, |
66 | 65 | LanguageNames::LIST_MW_AND_CLDR |