r86348 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86347‎ | r86348 | r86349 >
Date:21:44, 18 April 2011
Author:kaldari
Status:ok
Tags:
Comment:
removing obfuscation
Modified paths:
  • /trunk/extensions/I18nTags/I18nTags_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/I18nTags/I18nTags_body.php
@@ -57,9 +57,8 @@
5858 if ( !$code ) {
5959 return '';
6060 }
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 ) {
6463 $languages = LanguageNames::getNames( $wgLang->getCode(),
6564 LanguageNames::FALLBACK_NORMAL,
6665 LanguageNames::LIST_MW_AND_CLDR

Status & tagging log