Merge "registration: Don't ignore empty array config settings when converting"
[lhc/web/wiklou.git] / includes / actions / DeleteAction.php
index 069d570..be21a6f 100644 (file)
@@ -41,7 +41,14 @@ class DeleteAction extends FormlessAction {
        }
 
        public function show() {
-
+               $out = $this->getOutput();
+               if ( $this->getContext()->getConfig()->get( 'UseMediaWikiUIEverywhere' ) ) {
+                       $out->addModuleStyles( array(
+                               'mediawiki.ui.input',
+                               'mediawiki.ui.checkbox',
+                       ) );
+               }
+               $this->addHelpLink( 'Help:Sysop deleting and undeleting' );
                $this->page->delete();
        }
 }