X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryLinks.php;h=d7b85c93bcb49812167c888d62c57d374ad1fcbd;hb=d23738002136761e34f11d72e7dd7eea65e3b655;hp=d6545508fe01dc2556c8a3ac657a3755fb4a3801;hpb=ad225f501c095a154bf015978e0c3263f0f1fa3f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryLinks.php b/includes/api/ApiQueryLinks.php index d6545508fe..d7b85c93bc 100644 --- a/includes/api/ApiQueryLinks.php +++ b/includes/api/ApiQueryLinks.php @@ -42,13 +42,13 @@ class ApiQueryLinks extends ApiQueryGeneratorBase { $this->table = 'pagelinks'; $this->prefix = 'pl'; $this->titlesParam = 'titles'; - $this->helpUrl = 'https://www.mediawiki.org/wiki/API:Properties#links_.2F_pl'; + $this->helpUrl = 'https://www.mediawiki.org/wiki/API:Links'; break; case self::TEMPLATES: $this->table = 'templatelinks'; $this->prefix = 'tl'; $this->titlesParam = 'templates'; - $this->helpUrl = 'https://www.mediawiki.org/wiki/API:Properties#templates_.2F_tl'; + $this->helpUrl = 'https://www.mediawiki.org/wiki/API:Templates'; break; default: ApiBase::dieDebug( __METHOD__, 'Unknown module name' ); @@ -207,7 +207,7 @@ class ApiQueryLinks extends ApiQueryGeneratorBase { ); } - public function getExamplesMessages() { + protected function getExamplesMessages() { $name = $this->getModuleName(); $path = $this->getModulePath();