From: Tom Gilder Date: Fri, 14 Oct 2005 13:38:04 +0000 (+0000) Subject: make button's text the perfomed action instead of "confirm" X-Git-Tag: 1.6.0~1417 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=a861381c72b705b88976455852d5fb6dfaac53e5;p=lhc%2Fweb%2Fwiklou.git make button's text the perfomed action instead of "confirm" --- diff --git a/includes/Article.php b/includes/Article.php index c2af9b2eb2..22a35b5858 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -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() );