r65799 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65798‎ | r65799 | r65800 >
Date:08:53, 2 May 2010
Author:ialex
Status:deferred
Tags:
Comment:
And while I'm at it: pass true to SpecialLanguageStats::element() and wfMsg()
Modified paths:
  • /trunk/extensions/Translate/SpecialLanguageStats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/SpecialLanguageStats.php
@@ -148,7 +148,7 @@
149149 $languageName = TranslateUtils::getLanguageName( $code, false );
150150 $rcInLangLink = $wgUser->getSkin()->link(
151151 SpecialPage::getTitleFor( 'Recentchanges' ),
152 - wfMsg( 'languagestats-recenttranslations' ),
 152+ wfMsgHtml( 'languagestats-recenttranslations' ),
153153 array(),
154154 array(
155155 'translations' => 'only',
@@ -161,11 +161,11 @@
162162 # Create table header
163163 $out .= $this->heading();
164164 $out .= $this->blockstart();
165 - $out .= $this->element( wfMsg( 'translate-page-group', true ) );
166 - $out .= $this->element( wfMsg( 'translate-total', true ) );
167 - $out .= $this->element( wfMsg( 'translate-untranslated', true ) );
168 - $out .= $this->element( wfMsg( 'translate-percentage-complete', true ) );
169 - $out .= $this->element( wfMsg( 'translate-percentage-fuzzy', true ) );
 165+ $out .= $this->element( wfMsg( 'translate-page-group' ), true );
 166+ $out .= $this->element( wfMsg( 'translate-total' ), true );
 167+ $out .= $this->element( wfMsg( 'translate-untranslated' ), true );
 168+ $out .= $this->element( wfMsg( 'translate-percentage-complete' ), true );
 169+ $out .= $this->element( wfMsg( 'translate-percentage-fuzzy' ), true );
170170 $out .= $this->blockend();
171171
172172 return $out;

Status & tagging log