r112431 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112430‎ | r112431 | r112432 >
Date:12:58, 26 February 2012
Author:siebrand
Status:ok
Tags:i18nreview 
Comment:
Follow-up r112429: Didn't work as I thought it would. Thanks Niklas.
Modified paths:
  • /trunk/extensions/Translate/specials/SpecialTranslations.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/specials/SpecialTranslations.php
@@ -194,7 +194,6 @@
195195 $ajaxPageList = array();
196196 $historyText = "&#160;<sup>" . wfMsgHtml( 'translate-translations-history-short' ) . "</sup>&#160;";
197197 $separator = wfMessage( 'word-separator' )->plain();
198 - $parentheses = wfMessage( 'parentheses' )->escaped();
199198
200199 foreach ( $res as $s ) {
201200 $key = $s->page_title;
@@ -205,7 +204,7 @@
206205
207206 $text = TranslateUtils::getLanguageName( $code, false, $wgLang->getCode() );
208207 $text .= $separator;
209 - $text .= $parentheses->params( $code );
 208+ $text .= wfMessage( 'parentheses' )->params( $code )->escaped();
210209 $text = htmlspecialchars( $text );
211210
212211 if ( $canTranslate ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112429Remove hard coded parentheses.siebrand12:51, 26 February 2012

Status & tagging log