35 parent::__construct(
'ApiSandbox' );
43 $out->addJsConfigVars(
47 $out->addModuleStyles( [
52 'mediawiki.special.apisandbox',
53 'mediawiki.apipretty',
56 "<div id='mw-apisandbox'><div class='mw-apisandbox-nojs error'>\n$1\n</div></div>",
69class_alias( SpecialApiSandbox::class,
'SpecialApiSandbox' );
Parent class for all special pages.
setHeaders()
Sets headers - this should be called from the execute() method of all derived classes!
getOutput()
Get the OutputPage being used for this instance.
getAuthority()
Shortcut to get the Authority executing this instance.
addHelpLink( $to, $overrideBaseUrl=false)
Adds help link with an icon via page indicators.