From: Aaron Schulz Date: Sat, 24 Oct 2009 21:13:59 +0000 (+0000) Subject: Split confirm message from revdelete-text (bug 21264) X-Git-Tag: 1.31.0-rc.0~39133 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=067cec165ae890767f953c26167a30c06019e04c;p=lhc%2Fweb%2Fwiklou.git Split confirm message from revdelete-text (bug 21264) --- diff --git a/includes/specials/SpecialRevisiondelete.php b/includes/specials/SpecialRevisiondelete.php index 3dcb6db4a5..3e8de86eaf 100644 --- a/includes/specials/SpecialRevisiondelete.php +++ b/includes/specials/SpecialRevisiondelete.php @@ -431,6 +431,9 @@ class SpecialRevisionDelete extends UnlistedSpecialPage { if( $wgUser->isAllowed( 'suppressrevision' ) ) { $wgOut->addWikiMsg( 'revdelete-suppress-text' ); } + if( $this->mIsAllowed ) { + $wgOut->addWikiMsg( 'revdelete-confirm' ); + } } /** diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index ac8220b3b0..42a70ae3b5 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -1460,9 +1460,8 @@ function, the specified revision does not exist, or you are attempting to hide t 'revdelete-selected' => "'''{{PLURAL:$2|Selected revision|Selected revisions}} of [[:$1]]:'''", 'logdelete-selected' => "'''{{PLURAL:$1|Selected log event|Selected log events}}:'''", 'revdelete-text' => "'''Deleted revisions and events will still appear in the page history and logs, but parts of their content will be inaccessible to the public.''' -Other administrators on {{SITENAME}} will still be able to access the hidden content and can undelete it again through this same interface, unless additional restrictions are set. - -Please confirm that you intend to do this, that you understand the consequences, and that you are doing this in accordance with [[{{MediaWiki:Policy-url}}|the policy]].", +Other administrators on {{SITENAME}} will still be able to access the hidden content and can undelete it again through this same interface, unless additional restrictions are set.", +'revdelete-confirm' => "Please confirm that you intend to do this, that you understand the consequences, and that you are doing this in accordance with [[{{MediaWiki:Policy-url}}|the policy]].", 'revdelete-suppress-text' => "Suppression should '''only''' be used for the following cases: * Potentially libelous information * Inappropriate personal information