Index: trunk/extensions/FlaggedRevs/specialpages/StablePages_body.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | $form = Xml::openElement( 'form', array( 'name' => 'stablepages', 'action' => $wgScript, 'method' => 'get' ) ); |
34 | 34 | $form .= "<fieldset><legend>".wfMsg('stablepages')."</legend>\n"; |
35 | 35 | $form .= FlaggedRevsXML::getNamespaceMenu( $this->namespace ) . ' '; |
36 | | - $form .= Xml::label( wfMsg('stablepages-precedence'), 'precedence', 'precedence' ) . ' '; |
| 36 | + $form .= Xml::label( wfMsg('stablepages-precedence'), 'wpPrecedence' ) . ' '; |
37 | 37 | $form .= FlaggedRevsXML::getPrecedenceMenu( $this->precedence ) . ' '; |
38 | 38 | $form .= " ".Xml::submitButton( wfMsg( 'go' ) ); |
39 | 39 | $form .= Xml::hidden( 'title', $wgTitle->getPrefixedDBKey() ); |
Index: trunk/extensions/FlaggedRevs/FlaggedRevsXML.php |
— | — | @@ -47,7 +47,7 @@ |
48 | 48 | */ |
49 | 49 | public static function getLevelMenu( $selected=null ) { |
50 | 50 | wfLoadExtensionMessages( 'FlaggedRevs' ); |
51 | | - $s = Xml::openElement( 'select', array('name' => 'level') ); |
| 51 | + $s = Xml::openElement( 'select', array('name' => 'level','id' => 'wpLevel') ); |
52 | 52 | $s .= Xml::option( wfMsg( "revreview-filter-level-0" ), 0, $selected===0 ); |
53 | 53 | if( FlaggedRevs::qualityVersions() ) |
54 | 54 | $s .= Xml::option( wfMsg( "revreview-filter-level-1" ), 1, $selected===1 ); |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | |
62 | 62 | public static function getPrecedenceMenu( $selected=null ) { |
63 | 63 | wfLoadExtensionMessages( 'FlaggedRevs' ); |
64 | | - $s = Xml::openElement( 'select', array('name' => 'precedence') ); |
| 64 | + $s = Xml::openElement( 'select', array('name' => 'precedence','id' => 'wpPrecedence') ); |
65 | 65 | $s .= Xml::option( wfMsg( "revreview-filter-level-0" ), FLAGGED_VIS_LATEST, $selected==FLAGGED_VIS_LATEST ); |
66 | 66 | if( FlaggedRevs::qualityVersions() ) |
67 | 67 | $s .= Xml::option( wfMsg( "revreview-filter-level-1" ), FLAGGED_VIS_NORMAL, $selected==FLAGGED_VIS_NORMAL ); |