Index: trunk/extensions/Oversight/HideRevision_body.php |
— | — | @@ -72,7 +72,7 @@ |
73 | 73 | "<br />" . |
74 | 74 | Xml::inputLabel( wfMsgHTML( 'hiderevision-reason' ), 'wpReason', 'wpReason', 60 ) . |
75 | 75 | "<br />" . |
76 | | - Xml::submitButton( wfMsgHTML( 'hiderevision-continue' ) ) . |
| 76 | + Xml::submitButton( wfMsgHTML( 'hiderevision-continue' ), array( 'id' => 'mw-hiderevision-continue' ) ) . |
77 | 77 | |
78 | 78 | Xml::closeElement( 'form' ) ); |
79 | 79 | } |
— | — | @@ -99,7 +99,7 @@ |
100 | 100 | "<br />" . |
101 | 101 | Xml::inputLabel( wfMsgHTML( 'hiderevision-reason' ), 'wpReason', 'wpReason', 60, $this->mReason ) . |
102 | 102 | "<br />" . |
103 | | - Xml::submitButton( wfMsgHTML( 'hiderevision-submit' ) ) . |
| 103 | + Xml::submitButton( wfMsgHTML( 'hiderevision-submit' ), array( 'id' => 'mw-hiderevision-submit' ) ) . |
104 | 104 | |
105 | 105 | // Hidden fields |
106 | 106 | $this->revisionFields() . |
— | — | @@ -396,12 +396,12 @@ |
397 | 397 | $wgOut->addHTML( "<form action=\"$action\" method=\"get\"><fieldset>" ); |
398 | 398 | $wgOut->addHTML( '<legend>' . wfMsgHtml('oversight-legend') . '</legend>' ); |
399 | 399 | $wgOut->addHTML( Xml::hidden( 'title', $wgTitle->getPrefixedDbKey() ) ); |
400 | | - $wgOut->addHTML( Xml::inputLabel( wfMsg( 'oversight-oversighter' ), 'user', 'user', 20, $user ) ); |
| 400 | + $wgOut->addHTML( Xml::inputLabel( wfMsg( 'oversight-oversighter' ), 'user', 'mw-oversight-user', 20, $user ) ); |
401 | 401 | $wgOut->addHTML( ' ' ); |
402 | | - $wgOut->addHTML( Xml::inputLabel( wfMsg( 'speciallogtitlelabel' ), 'page', 'page', 25, $page ) ); |
| 402 | + $wgOut->addHTML( Xml::inputLabel( wfMsg( 'speciallogtitlelabel' ), 'page', 'mw-oversight-page', 25, $page ) ); |
403 | 403 | $wgOut->addHTML( ' ' ); |
404 | | - $wgOut->addHTML( Xml::inputLabel( wfMsg( 'oversight-offender' ), 'author', 'author', 20, $offender ) ); |
405 | | - $wgOut->addHTML( ' ' . Xml::submitButton( wfMsg( 'allpagessubmit' ) ) ); |
| 404 | + $wgOut->addHTML( Xml::inputLabel( wfMsg( 'oversight-offender' ), 'author', 'mw-oversight-author', 20, $offender ) ); |
| 405 | + $wgOut->addHTML( ' ' . Xml::submitButton( wfMsg( 'allpagessubmit' ), array( 'id' => 'mw-oversight-submit' ) ) ); |
406 | 406 | $wgOut->addHTML( '</fieldset></form>' ); |
407 | 407 | |
408 | 408 | $pager = new HiddenRevisionsPager( $this, array(), $title, $u, $offender ); |