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
API: Add wfDeprecated() to deprecated ApiResult methods
[lhc/web/wiklou.git]
/
includes
/
actions
/
ProtectAction.php
diff --git
a/includes/actions/ProtectAction.php
b/includes/actions/ProtectAction.php
index
443660b
..
a7f1ac3
100644
(file)
--- a/
includes/actions/ProtectAction.php
+++ b/
includes/actions/ProtectAction.php
@@
-41,8
+41,7
@@
class ProtectAction extends FormlessAction {
}
public function show() {
}
public function show() {
- global $wgUseMediaWikiUIEverywhere;
- if ( $wgUseMediaWikiUIEverywhere ) {
+ if ( $this->getContext()->getConfig()->get( 'UseMediaWikiUIEverywhere' ) ) {
$out = $this->getOutput();
$out->addModuleStyles( array(
'mediawiki.ui.input',
$out = $this->getOutput();
$out->addModuleStyles( array(
'mediawiki.ui.input',