From a861381c72b705b88976455852d5fb6dfaac53e5 Mon Sep 17 00:00:00 2001 From: Tom Gilder Date: Fri, 14 Oct 2005 13:38:04 +0000 Subject: [PATCH] make button's text the perfomed action instead of "confirm" --- includes/Article.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() ); -- 2.20.1