Merge "Language: s/error_log/wfWarn/"
[lhc/web/wiklou.git] / includes / actions / DeleteAction.php
index db7123d..12f0dff 100644 (file)
@@ -41,9 +41,13 @@ class DeleteAction extends FormlessAction {
        }
 
        public function show() {
-
+               if ( $this->getContext()->getConfig()->get( 'UseMediaWikiUIEverywhere' ) ) {
+                       $out = $this->getOutput();
+                       $out->addModuleStyles( array(
+                               'mediawiki.ui.input',
+                               'mediawiki.ui.checkbox',
+                       ) );
+               }
                $this->page->delete();
-
        }
-
 }