https://bugzilla.wikimedia.org/show_bug.cgi?id=46120

Brad Jorsch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Brad Jorsch <[email protected]> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to