Index: trunk/phase3/includes/specials/SpecialUnblock.php |
— | — | @@ -49,10 +49,10 @@ |
50 | 50 | $out->addModules( 'mediawiki.special' ); |
51 | 51 | |
52 | 52 | $form = new HTMLForm( $this->getFields(), $this->getContext() ); |
53 | | - $form->setWrapperLegend( wfMsg( 'unblockip' ) ); |
| 53 | + $form->setWrapperLegendMsg( 'unblockip' ); |
54 | 54 | $form->setSubmitCallback( array( __CLASS__, 'processUIUnblock' ) ); |
55 | | - $form->setSubmitText( wfMsg( 'ipusubmit' ) ); |
56 | | - $form->addPreText( wfMsgExt( 'unblockiptext', 'parse' ) ); |
| 55 | + $form->setSubmitTextMsg( 'ipusubmit' ); |
| 56 | + $form->addPreText( $this->msg( 'unblockiptext' )->parseAsBlock() ); |
57 | 57 | |
58 | 58 | if( $form->show() ){ |
59 | 59 | switch( $this->type ){ |