Thanks for the feedback.
With this particular API call I would expect to get all revisions of an article that occurred between two specific revisions (identified by ids). I didn't assume that revids would be ordered.
So, given two revids of an article - can I get all the revisions in between with the API?
-- Sérgio Nunes
On 19 June 2010 17:37, Roan Kattouw roan.kattouw@gmail.com wrote:
2010/6/19 S. Nunes snunes@gmail.com:
Hi,
I think that the API is returning bad results when I try to retrieve a list of revisions. Consider the following call to retrieve all revisions from the Wikipedia article:
http://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop...
The rvstartid and rvendid parameters are respectively set with the latest revision made to the article and the first. I know that this article has more than > 30000 revisions, however with this call I am only getting 363 results.
Can anyone please check this ?
Dropping rvstartid and rvendid yields all revisions.
You need to keep in mind that the earliest revision is the one with the lowest *timestamp*, but that doesn't necessarily correspond to the lowest *revision ID*.
Roan Kattouw (Catrope)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api