(bug 38904) prop=revisions&rvstart=... should not blow up when continuing
authorBrad Jorsch <anomie.wikipedia@gmail.com>
Wed, 1 Aug 2012 02:45:13 +0000 (22:45 -0400)
committerCatrope <roan.kattouw@gmail.com>
Thu, 2 Aug 2012 21:47:02 +0000 (14:47 -0700)
commit7a657188a1f436c218db754120d2c9e8437361b4
tree509605c07ffcb3d2a56dd66c6baf8871bbefdfe1
parentb57a4db07b5f55858535799c7c6c8d409206ad4a
(bug 38904) prop=revisions&rvstart=... should not blow up when continuing

A query using prop=revisions in enum mode will return a query-continue
using rvstartid. If the original query included rvstart, the client will
therefore send both the rvstart from the original query and the
rvstartid from the query-continue. And the API will then return an error
that rvstart and rvstartid may not both be used in the same query.

Since there is no way for the API to instruct the client to ''not'' send
the rvstart when continuing, we'll just use rvcontinue instead. Then the
module can ignore both rvstart and rvstartid to get the intended
continuation.

Change-Id: I145215996b8a7818196cdfb583a1fdacae973fee
RELEASE-NOTES-1.20
includes/api/ApiQueryRevisions.php