summaryrefslogtreecommitdiff
path: root/includes/actions/DeleteAction.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/actions/DeleteAction.php')
-rw-r--r--includes/actions/DeleteAction.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/includes/actions/DeleteAction.php b/includes/actions/DeleteAction.php
index db7123db..12f0dff0 100644
--- a/includes/actions/DeleteAction.php
+++ b/includes/actions/DeleteAction.php
@@ -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();
-
}
-
}