Page MenuHomePhabricator

rvend ignored when rvstartid is specified
Closed, ResolvedPublic

Description

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


Version: 1.15.x
Severity: normal

Details

Reference
bz17529

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:30 PM
bzimport set Reference to bz17529.