$wgOut->addHTML( '</ul>' );
}
$wgOut->addHTML(
- wfSubmitButton( htmlspecialchars( wfMsg('removechecked') ), array('name' => 'remove') ) .
+ wfSubmitButton( wfMsg('removechecked'), array('name' => 'remove') ) .
"\n</form>\n"
);
$wgOut->addHTML(
wfOpenElement( 'form', array(
'method' => 'post',
- 'action' => $thisTitle->escapeLocalUrl(),
+ 'action' => $thisTitle->getLocalURL(),
) ) .
wfLabel(
wfMsgExt( 'namespace', array( 'parseinline') ),
$out->addWikiText( wfMsg( 'watchlistcount', $count ) );
$out->addWikiText( wfMsg( 'watchlistcleartext' ) );
$out->addHTML(
- wfElement( 'input', array( 'type' => 'hidden', 'name' => 'token', 'value' => $wgUser->editToken( 'clearwatchlist' ) ), '' ) .
+ wfHidden( 'token', $wgUser->editToken( 'clearwatchlist' ) ) .
wfElement( 'input', array( 'type' => 'submit', 'name' => 'submit', 'value' => wfMsgHtml( 'watchlistclearbutton' ) ), '' ) .
wfCloseElement( 'form' )
);