Last modified: 2013-03-14 16:11:12 UTC
for example https://fr.wikipedia.org/w/api.php?format=xml&action=query&prop=revisions|info&rvlimit=10&rvprop=user|ids&intoken=edit&titles=Discussion%20utilisateur%3AXavier%20Combelle returns rvcontinue even if there is the asked number of revision
according to https://fr.wikipedia.org/wiki/Discussion_MediaWiki:Gadget-LiveRC.js#R.C3.A9vocation_avec_LiveRC the bug is present in fr.wikipedia since march 13th 2013 evening
There are more than the requested 10 revisions, so it returns rvcontinue to allow you to access them in a subsequent query. If you don't want these additional revisions, you need not make the subsequent query. This is how it is *supposed* to work, there is no bug here. And this hasn't changed in a very long time. Your linked discussion seems to be describing something else completely: your code was assuming that the first node named "revisions" was what would be returned by the XPath query "/api/query/pages/page[1]/revisions", while it was actually "/api/query-continue/revisions". You really should be using the JSON output format from JavaScript, and if you insist on using XML you need to traverse the DOM correctly instead of ripping out a random node and hoping it's the right one.
Thanks