Merge "Add Help Page link in Special:ApiSandbox"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 8 Jan 2018 05:41:17 +0000 (05:41 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 8 Jan 2018 05:41:17 +0000 (05:41 +0000)
includes/specials/SpecialApiSandbox.php

index e994347..2733e75 100644 (file)
@@ -33,6 +33,7 @@ class SpecialApiSandbox extends SpecialPage {
        public function execute( $par ) {
                $this->setHeaders();
                $out = $this->getOutput();
+               $this->addHelpLink( 'Help:ApiSandbox' );
 
                if ( !$this->getConfig()->get( 'EnableAPI' ) ) {
                        $out->showErrorPage( 'error', 'apisandbox-api-disabled' );