https://bugzilla.wikimedia.org/show_bug.cgi?id=17529
Summary: rvend ignored when rvstartid is specified
Product: MediaWiki
Version: 1.15-svn
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
