Last modified: 2009-02-18 15:26:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19529, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17529 - rvend ignored when rvstartid is specified
rvend ignored when rvstartid is specified
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.15.x
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-17 07:05 UTC by MER-C
Modified: 2009-02-18 15:26 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MER-C 2009-02-17 07:05:09 UTC
The following query works as expected:

http://en.wikipedia.org/w/api.php?format=xml&action=query&prop=revisions&rvlimit=max&titles=Wikipedia%3AFeatured+picture+candidates&rvend=20081201000000&rvstart=20090101000000

However, if I substitute rvstart=20090101000000 with the equivalent rvstartid (261053007) because I might be continuing from a previous query...

http://en.wikipedia.org/w/api.php?format=xml&action=query&prop=revisions&rvlimit=max&titles=Wikipedia%3AFeatured+picture+candidates&rvend=20081201000000&rvstartid=261053007

...the result doesn't stop when expected. In fact it continues until all prior revisions are exhausted, making silly queries like this one inevitable:

http://en.wikipedia.org/w/api.php?format=xml&action=query&prop=revisions&rvlimit=max&titles=Wikipedia%3AFeatured+picture+candidates&rvend=20081201000000&rvstartid=161047397
Comment 1 Roan Kattouw 2009-02-18 15:26:36 UTC
Fixed in r47450

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links