make button's text the perfomed action instead of "confirm"
authorTom Gilder <tomgilder@users.mediawiki.org>
Fri, 14 Oct 2005 13:38:04 +0000 (13:38 +0000)
committerTom Gilder <tomgilder@users.mediawiki.org>
Fri, 14 Oct 2005 13:38:04 +0000 (13:38 +0000)
includes/Article.php

index c2af9b2..22a35b5 100644 (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() );