From f6d65e533c62f6deb21342d4901ece24497b433e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 4 Jun 2015 07:31:04 +0200 Subject: Update to MediaWiki 1.25.1 --- includes/actions/RevisiondeleteAction.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'includes/actions/RevisiondeleteAction.php') diff --git a/includes/actions/RevisiondeleteAction.php b/includes/actions/RevisiondeleteAction.php index b6eeb7b4..dbcb8485 100644 --- a/includes/actions/RevisiondeleteAction.php +++ b/includes/actions/RevisiondeleteAction.php @@ -27,8 +27,14 @@ * An action that just pass the request to Special:RevisionDelete * * @ingroup Actions + * @deprecated since 1.25 This class has been replaced by SpecialPageAction, but + * you really shouldn't have been using it outside core in the first place */ class RevisiondeleteAction extends FormlessAction { + public function __construct( Page $page, IContextSource $context = null ) { + wfDeprecated( 'RevisiondeleteAction class', '1.25' ); + parent::__construct( $page, $context ); + } public function getName() { return 'revisiondelete'; -- cgit v1.2.2