r50999 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50998‎ | r50999 | r51000 >
Date:00:47, 26 May 2009
Author:aaron
Status:ok
Tags:
Comment:
Escape revreview-locked-title messages
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticle.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php
@@ -297,10 +297,10 @@
298298 // Is the page config altered?
299299 if( $this->isPageLocked() ) {
300300 $prot = "<span class='fr-icon-locked' title=\"".
301 - wfMsg('revreview-locked-title')."\"></span>";
 301+ wfMsgHtml('revreview-locked-title')."\"></span>";
302302 } else if( $this->isPageUnlocked() ) {
303303 $prot = "<span class='fr-icon-unlocked' title=\"".
304 - wfMsg('revreview-unlocked-title')."\"></span>";
 304+ wfMsgHtml('revreview-unlocked-title')."\"></span>";
305305 }
306306 // Is there no stable version?
307307 if( is_null($frev) ) {
@@ -623,10 +623,10 @@
624624 // Is the page config altered?
625625 if( $this->isPageLocked() ) {
626626 $prot = "<span class='fr-icon-locked' title=\"".
627 - wfMsg('revreview-locked-title')."\"></span>";
 627+ wfMsgHtml('revreview-locked-title')."\"></span>";
628628 } else if( $this->isPageUnlocked() ) {
629629 $prot = "<span class='fr-icon-unlocked' title=\"".
630 - wfMsg('revreview-unlocked-title')."\"></span>";
 630+ wfMsgHtml('revreview-unlocked-title')."\"></span>";
631631 }
632632 # Streamlined UI
633633 if( FlaggedRevs::useSimpleUI() ) {

Status & tagging log