X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Factions%2FRevisiondeleteAction.php;h=b6eeb7b4f64e07840c33eb0a5717435d702aff9d;hb=70ae276db1c02e82d2f324c658fe1f61c7a204d0;hp=14da2fcfec6835cc936fe3890b84aa0eab10dfb3;hpb=0e5c2ee3f23eadabb9d9856868b4406cb433f753;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/RevisiondeleteAction.php b/includes/actions/RevisiondeleteAction.php index 14da2fcfec..b6eeb7b4f6 100644 --- a/includes/actions/RevisiondeleteAction.php +++ b/includes/actions/RevisiondeleteAction.php @@ -23,6 +23,11 @@ * @author Alexandre Emsenhuber */ +/** + * An action that just pass the request to Special:RevisionDelete + * + * @ingroup Actions + */ class RevisiondeleteAction extends FormlessAction { public function getName() { @@ -44,6 +49,7 @@ class RevisiondeleteAction extends FormlessAction { public function show() { $special = SpecialPageFactory::getPage( 'Revisiondelete' ); $special->setContext( $this->getContext() ); + $special->getContext()->setTitle( $special->getPageTitle() ); $special->run( '' ); } }