dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Revert "Don't check namespace in SpecialWantedtemplates""
[lhc/web/wiklou.git]
/
includes
/
actions
/
ProtectAction.php
diff --git
a/includes/actions/ProtectAction.php
b/includes/actions/ProtectAction.php
index
2c2b470
..
48909cf
100644
(file)
--- a/
includes/actions/ProtectAction.php
+++ b/
includes/actions/ProtectAction.php
@@
-41,8
+41,14
@@
class ProtectAction extends FormlessAction {
}
public function show() {
}
public function show() {
+ if ( $this->getContext()->getConfig()->get( 'UseMediaWikiUIEverywhere' ) ) {
+ $out = $this->getOutput();
+ $out->addModuleStyles( array(
+ 'mediawiki.ui.input',
+ 'mediawiki.ui.checkbox',
+ ) );
+ }
$this->page->protect();
}
}
$this->page->protect();
}
}
-