X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Factions%2FRevisiondeleteAction.php;h=dbcb8485ed1a5241bd9e5dfb73ac9e98097f2647;hb=d1b7a25985a31c3f19e18f156a5dbfaa4c9f3740;hp=b6eeb7b4f64e07840c33eb0a5717435d702aff9d;hpb=da39646ddc98bce9cc1243ab217428e449b5d9ae;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/RevisiondeleteAction.php b/includes/actions/RevisiondeleteAction.php index b6eeb7b4f6..dbcb8485ed 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';