$out = $this->getOutput();
if ( $this->getContext()->getConfig()->get( 'UseMediaWikiUIEverywhere' ) ) {
- $out->addModuleStyles( array(
+ $out->addModuleStyles( [
'mediawiki.ui.input',
'mediawiki.ui.checkbox',
- ) );
+ ] );
}
$this->addHelpLink( 'Help:Sysop deleting and undeleting' );
$this->page->delete();
}
+
+ public function doesWrites() {
+ return true;
+ }
}