r48275 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48274‎ | r48275 | r48276 >
Date:18:55, 10 March 2009
Author:aaron
Status:ok
Tags:
Comment:
Use new messages here too
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevsXML.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevsXML.php
@@ -48,9 +48,9 @@
4949 public static function getLevelMenu( $selected=null ) {
5050 wfLoadExtensionMessages( 'FlaggedRevs' );
5151 $s = Xml::openElement( 'select', array('name' => 'level','id' => 'wpLevel') );
52 - $s .= Xml::option( wfMsg( "revreview-lev-sighted" ), 0, $selected===0 );
 52+ $s .= Xml::option( wfMsg( 'revreview-lev-sighted' ), 0, $selected===0 );
5353 if( FlaggedRevs::qualityVersions() )
54 - $s .= Xml::option( wfMsg( "revreview-lev-quality" ), 1, $selected===1 );
 54+ $s .= Xml::option( wfMsg( 'revreview-lev-quality' ), 1, $selected===1 );
5555 # Note: Pristine not tracked at sp:QualityOversight (counts as quality)
5656 $s .= Xml::closeElement('select')."\n";
5757 return $s;
@@ -59,11 +59,11 @@
6060 public static function getPrecedenceMenu( $selected=null ) {
6161 wfLoadExtensionMessages( 'FlaggedRevs' );
6262 $s = Xml::openElement( 'select', array('name' => 'precedence','id' => 'wpPrecedence') );
63 - $s .= Xml::option( wfMsg( "revreview-filter-level-0" ), FLAGGED_VIS_LATEST, $selected==FLAGGED_VIS_LATEST );
 63+ $s .= Xml::option( wfMsg( 'revreview-lev-sighted' ), FLAGGED_VIS_LATEST, $selected==FLAGGED_VIS_LATEST );
6464 if( FlaggedRevs::qualityVersions() )
65 - $s .= Xml::option( wfMsg( "revreview-filter-level-1" ), FLAGGED_VIS_QUALITY, $selected==FLAGGED_VIS_QUALITY );
 65+ $s .= Xml::option( wfMsg( 'revreview-lev-quality' ), FLAGGED_VIS_QUALITY, $selected==FLAGGED_VIS_QUALITY );
6666 if( FlaggedRevs::pristineVersions() )
67 - $s .= Xml::option( wfMsg( "revreview-filter-level-2" ), FLAGGED_VIS_PRISTINE, $selected==FLAGGED_VIS_PRISTINE );
 67+ $s .= Xml::option( wfMsg( 'revreview-lev-pristine' ), FLAGGED_VIS_PRISTINE, $selected==FLAGGED_VIS_PRISTINE );
6868 $s .= Xml::closeElement('select')."\n";
6969 return $s;
7070 }

Status & tagging log