From: Roan Kattouw Date: Tue, 22 Apr 2008 12:46:00 +0000 (+0000) Subject: (bug 13819) API: exturlusage paging skipped an item X-Git-Tag: 1.31.0-rc.0~48136 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=d4c9c438fd70cb56fb6b8515ca1b9be377cd3c98;p=lhc%2Fweb%2Fwiklou.git (bug 13819) API: exturlusage paging skipped an item --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index e6081eec3e..d4d99e39f2 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -257,6 +257,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 13718) Return the proper continue parameter for cmsort=timestamp * action=login now returns the correct waiting time in the details property * (bug 13792) Broken titles are now silently skipped in search results. +* (bug 13819) exturlusage paging skipped an item === Languages updated in 1.13 === diff --git a/includes/api/ApiQueryExtLinksUsage.php b/includes/api/ApiQueryExtLinksUsage.php index ccb1bffc91..5d9fd45bd2 100644 --- a/includes/api/ApiQueryExtLinksUsage.php +++ b/includes/api/ApiQueryExtLinksUsage.php @@ -108,7 +108,7 @@ class ApiQueryExtLinksUsage extends ApiQueryGeneratorBase { while ($row = $db->fetchObject($res)) { if (++ $count > $limit) { // We've reached the one extra which shows that there are additional pages to be had. Stop here... - $this->setContinueEnumParameter('offset', $offset+$limit+1); + $this->setContinueEnumParameter('offset', $offset+$limit); break; }