r38709 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38708‎ | r38709 | r38710 >
Date:13:39, 6 August 2008
Author:aaron
Status:old
Tags:
Comment:
use wfMsgForContent()
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/Stabilization_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/specialpages/Stabilization_body.php
@@ -234,10 +234,10 @@
235235 $log = new LogPage( 'stable' );
236236 # ID, accuracy, depth, style
237237 $set = array();
238 - $set[] = wfMsg( "stabilization-sel-short" ) . ": " .
239 - wfMsg("stabilization-sel-short-{$this->select}");
240 - $set[] = wfMsg( "stabilization-def-short" ) . ": " .
241 - wfMsg("stabilization-def-short-{$this->override}");
 238+ $set[] = wfMsgForContent( "stabilization-sel-short" ) . ": " .
 239+ wfMsgForContent("stabilization-sel-short-{$this->select}");
 240+ $set[] = wfMsgForContent( "stabilization-def-short" ) . ": " .
 241+ wfMsgForContent("stabilization-def-short-{$this->override}");
242242 $settings = '[' . implode(', ',$set). ']';
243243
244244 $comment = '';

Status & tagging log