X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryAllLinks.php;h=057dbb2ad503e2961a467c75b92222d72700cd1c;hb=5ab1bee6bcf83bd133b48c79fd72da92f58037d4;hp=c3636c6bcf8e92459f05f793e7ab771d4af89ce4;hpb=b8da5c83743ea31c6f73c063508384f114748537;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryAllLinks.php b/includes/api/ApiQueryAllLinks.php index c3636c6bcf..057dbb2ad5 100644 --- a/includes/api/ApiQueryAllLinks.php +++ b/includes/api/ApiQueryAllLinks.php @@ -1,9 +1,5 @@ @gmail.com" * * This program is free software; you can redistribute it and/or modify @@ -263,7 +259,8 @@ class ApiQueryAllLinks extends ApiQueryGeneratorBase { ], 'namespace' => [ ApiBase::PARAM_DFLT => $this->dfltNamespace, - ApiBase::PARAM_TYPE => 'namespace' + ApiBase::PARAM_TYPE => 'namespace', + ApiBase::PARAM_EXTRA_NAMESPACES => [ NS_MEDIA, NS_SPECIAL ], ], 'limit' => [ ApiBase::PARAM_DFLT => 10, @@ -307,6 +304,6 @@ class ApiQueryAllLinks extends ApiQueryGeneratorBase { public function getHelpUrls() { $name = ucfirst( $this->getModuleName() ); - return "https://www.mediawiki.org/wiki/API:{$name}"; + return "https://www.mediawiki.org/wiki/Special:MyLanguage/API:{$name}"; } }