UI for adding and removing change tags on revisions and log entries
[lhc/web/wiklou.git] / includes / actions / RevisiondeleteAction.php
index b6eeb7b..6c84bbd 100644 (file)
  * An action that just pass the request to Special:RevisionDelete
  *
  * @ingroup Actions
+ * @deprecated since 1.26 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.26' );
+               parent::__construct( $page, $context );
+       }
 
        public function getName() {
                return 'revisiondelete';