X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryIWLinks.php;h=e841788623150938bb10ffe9821fafbce2789540;hb=e0bbe317a1f1671e47245dda4f5e9478c3ca3c96;hp=cfd990b21301dfad020f15148ef098455279c1b7;hpb=5b1dcdc344f5d251120a161637bcb89e01b0f6a4;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryIWLinks.php b/includes/api/ApiQueryIWLinks.php index cfd990b213..e841788623 100644 --- a/includes/api/ApiQueryIWLinks.php +++ b/includes/api/ApiQueryIWLinks.php @@ -2,8 +2,6 @@ /** * API for MediaWiki 1.17+ * - * Created on May 14, 2010 - * * Copyright © 2010 Sam Reed * Copyright © 2006 Yuri Astrakhan "@gmail.com" * @@ -75,7 +73,7 @@ class ApiQueryIWLinks extends ApiQueryBase { $this->dieContinueUsageIf( count( $cont ) != 3 ); $op = $params['dir'] == 'descending' ? '<' : '>'; $db = $this->getDB(); - $iwlfrom = intval( $cont[0] ); + $iwlfrom = (int)$cont[0]; $iwlprefix = $db->addQuotes( $cont[1] ); $iwltitle = $db->addQuotes( $cont[2] ); $this->addWhere( @@ -194,6 +192,6 @@ class ApiQueryIWLinks extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Iwlinks'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Iwlinks'; } }