<?php
/**
- * Handle page deletion
- *
- * Copyright © 2012 Timo Tijhof
- *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
*
* @file
* @ingroup Actions
- * @author Timo Tijhof
*/
/**
}
public function show() {
- $out = $this->getOutput();
- if ( $this->getContext()->getConfig()->get( 'UseMediaWikiUIEverywhere' ) ) {
- $out->addModuleStyles( array(
- 'mediawiki.ui.input',
- 'mediawiki.ui.checkbox',
- ) );
- }
+ $this->useTransactionalTimeLimit();
$this->addHelpLink( 'Help:Sysop deleting and undeleting' );
$this->page->delete();
}
+
+ public function doesWrites() {
+ return true;
+ }
}