Add Help Page link in Special:ApiSandbox
authorJayprakash12345 <0freerunning@gmail.com>
Sun, 7 Jan 2018 08:35:12 +0000 (08:35 +0000)
committerLegoktm <legoktm@member.fsf.org>
Mon, 8 Jan 2018 05:33:49 +0000 (05:33 +0000)
Bug: T184365
Change-Id: I61ca80947c331bbdbe59feff5f33942a7d800a51

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' );