Merge "Move up devunt's name to Developers"
[lhc/web/wiklou.git] / includes / actions / ProtectAction.php
index a7f1ac3..2e9e093 100644 (file)
@@ -43,13 +43,16 @@ class ProtectAction extends FormlessAction {
        public function show() {
                if ( $this->getContext()->getConfig()->get( 'UseMediaWikiUIEverywhere' ) ) {
                        $out = $this->getOutput();
-                       $out->addModuleStyles( array(
+                       $out->addModuleStyles( [
                                'mediawiki.ui.input',
                                'mediawiki.ui.checkbox',
-                       ) );
+                       ] );
                }
 
                $this->page->protect();
        }
-}
 
+       public function doesWrites() {
+               return true;
+       }
+}