r65872 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65871‎ | r65872 | r65873 >
Date:19:32, 3 May 2010
Author:siebrand
Status:deferred
Tags:
Comment:
Get language name in user language
Modified paths:
  • /trunk/extensions/Translate/SpecialLanguageStats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/SpecialLanguageStats.php
@@ -143,9 +143,9 @@
144144 }
145145
146146 function createHeader( $code ) {
147 - global $wgUser;
 147+ global $wgUser, $wgLang;
148148
149 - $languageName = TranslateUtils::getLanguageName( $code, false );
 149+ $languageName = TranslateUtils::getLanguageName( $code, false, $wgLang->getCode() );
150150 $rcInLangLink = $wgUser->getSkin()->link(
151151 SpecialPage::getTitleFor( 'Recentchanges' ),
152152 wfMsgHtml( 'languagestats-recenttranslations' ),

Status & tagging log