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
Remove all $wgParser use from core
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialApiSandbox.php
diff --git
a/includes/specials/SpecialApiSandbox.php
b/includes/specials/SpecialApiSandbox.php
index
2733e75
..
034e569
100644
(file)
--- a/
includes/specials/SpecialApiSandbox.php
+++ b/
includes/specials/SpecialApiSandbox.php
@@
-35,13
+35,9
@@
class SpecialApiSandbox extends SpecialPage {
$out = $this->getOutput();
$this->addHelpLink( 'Help:ApiSandbox' );
$out = $this->getOutput();
$this->addHelpLink( 'Help:ApiSandbox' );
- if ( !$this->getConfig()->get( 'EnableAPI' ) ) {
- $out->showErrorPage( 'error', 'apisandbox-api-disabled' );
- }
-
$out->addJsConfigVars( 'apihighlimits', $this->getUser()->isAllowed( 'apihighlimits' ) );
$out->addModuleStyles( [
$out->addJsConfigVars( 'apihighlimits', $this->getUser()->isAllowed( 'apihighlimits' ) );
$out->addModuleStyles( [
- 'mediawiki.special
.apisandbox.styles
',
+ 'mediawiki.special',
] );
$out->addModules( [
'mediawiki.special.apisandbox',
] );
$out->addModules( [
'mediawiki.special.apisandbox',