make button's text the perfomed action instead of "confirm"

This commit is contained in:
Tom Gilder 2005-10-14 13:38:04 +00:00
parent fced95bfc1
commit a861381c72

View file

@ -1650,7 +1650,7 @@ class Article {
$formaction = $this->mTitle->escapeLocalURL( 'action=protect' . $par );
}
$confirm = htmlspecialchars( wfMsg( 'confirm' ) );
$confirm = htmlspecialchars( wfMsg( 'protectpage' ) );
$token = htmlspecialchars( $wgUser->editToken() );
$wgOut->addHTML( "
@ -1826,7 +1826,7 @@ class Article {
$formaction = $this->mTitle->escapeLocalURL( 'action=delete' . $par );
$confirm = htmlspecialchars( wfMsg( 'confirm' ) );
$confirm = htmlspecialchars( wfMsg( 'deletepage' ) );
$delcom = htmlspecialchars( wfMsg( 'deletecomment' ) );
$token = htmlspecialchars( $wgUser->editToken() );