Re: [Mediawiki-api] Bug in retrieving revisions ?

2010-06-19 Thread S. Nunes
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

Re: [Mediawiki-api] Bug in retrieving revisions ?

2010-06-19 Thread Roan Kattouw
2010/6/19 S. Nunes : > 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=ids&rvlimit=500&t

Re: [Mediawiki-api] Bug in retrieving revisions ?

2010-06-19 Thread Petr Onderka
Hi, that's because revision ids aren't always increasing with time, because of things such as importing from nostalgia Wikipedia. And that's what happened to that page: 19:36, 14 December 2009 Secret (talk | contribs) transwikied Wikipedia ‎ (6 revisions from nost:Wikipedia). The oldest revision

[Mediawiki-api] Bug in retrieving revisions ?

2010-06-19 Thread S. Nunes
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=ids&rvlimit=500&titles=Wikipedia&rvstartid=368533214