r51108 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51107‎ | r51108 | r51109 >
Date:12:07, 28 May 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
Escaping fixes
Modified paths:
  • /trunk/extensions/Translate/SpecialTranslationChanges.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/SpecialTranslationChanges.php
@@ -146,7 +146,7 @@
147147 $wgLang->formatNum( count( $rows ) )
148148 );
149149
150 - $exportLabel = wfMsg( self::MSG . 'export' );
 150+ $exportLabel = wfMsgHtml( self::MSG . 'export' );
151151
152152 $titleText = SpecialPage::getTitleFor( 'translate' );
153153
@@ -172,7 +172,7 @@
173173 $date = $wgLang->timeAndDate( $row->rc_timestamp, /* adj */ true, /* format */ true );
174174 $msg = wfMsgExt(
175175 self::MSG . 'change',
176 - array( 'parsemag' ),
 176+ array( 'parsemag', 'escape' ),
177177 $date,
178178 wfEscapeWikiText( $row->rc_title ),
179179 wfEscapeWikiText( $row->rc_user_text )

Status & tagging log