make button's text the perfomed action instead of "confirm"
This commit is contained in:
parent
fced95bfc1
commit
a861381c72
1 changed files with 2 additions and 2 deletions
|
|
@ -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() );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue