X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=blobdiff_plain;f=includes%2Factions%2FProtectAction.php;h=48909cfd7206ebf860974db5a46cb8a5991578ab;hb=175e95a9093412f8ae36abdddf13ce191ce1d5b3;hp=2c2b4709f5df5a632724d1ee3b74feac004c70dd;hpb=4c413f2ae7020a0a5a87aa0814b67c2c18d09f35;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/ProtectAction.php b/includes/actions/ProtectAction.php index 2c2b4709f5..48909cfd72 100644 --- a/includes/actions/ProtectAction.php +++ b/includes/actions/ProtectAction.php @@ -41,8 +41,14 @@ class ProtectAction 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->protect(); } } -