Merge "Remove ParserTestParser hook from hooks.txt"
[lhc/web/wiklou.git] / includes / actions / DeleteAction.php
index 841a94d..bb2775f 100644 (file)
@@ -45,12 +45,16 @@ class DeleteAction extends FormlessAction {
 
                $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;
+       }
 }