X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryQueryPage.php;h=a828e1177269ba5a0a8c54f9215468df4df068bb;hb=25e6d7444365f53e08a49d2437519773d1fb4c3f;hp=908cdee667b9614f41f90f4edfe915affbcf66a6;hpb=4cb9c1a24bde6e29c5e8f05c7cd1de54ffdd342a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryQueryPage.php b/includes/api/ApiQueryQueryPage.php index 908cdee667..a828e11772 100644 --- a/includes/api/ApiQueryQueryPage.php +++ b/includes/api/ApiQueryQueryPage.php @@ -1,9 +1,5 @@ .@gmail.com" * * This program is free software; you can redistribute it and/or modify @@ -59,7 +55,7 @@ class ApiQueryQueryPage extends ApiQueryGeneratorBase { $params = $this->extractRequestParams(); $result = $this->getResult(); - /** @var $qp QueryPage */ + /** @var QueryPage $qp */ $qp = new $this->qpMap[$params['page']](); if ( !$qp->userCanExecute( $this->getUser() ) ) { $this->dieWithError( 'apierror-specialpage-cantexecute' ); @@ -129,7 +125,7 @@ class ApiQueryQueryPage extends ApiQueryGeneratorBase { } public function getCacheMode( $params ) { - /** @var $qp QueryPage */ + /** @var QueryPage $qp */ $qp = new $this->qpMap[$params['page']](); if ( $qp->getRestriction() != '' ) { return 'private'; @@ -166,6 +162,6 @@ class ApiQueryQueryPage extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Querypage'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Querypage'; } }