On Fri, Mar 22, 2013 at 10:21 AM, Jim Safley jimsafley@gmail.com wrote:
That this is considered backwards-compatible confuses me. Are there other keys that we should we ignore in a typical API response?
It has always been the case that clients should not be relying on the specific keys or values to be included in the query string for continuation, beyond using the prefix to determine if the parameter belongs to the generator or not in the case of a query like action=query&generator=categories&prop=categories.
In other words, it shouldn't matter whether the result contains
<query-continue> <recentchanges rcstart="2013-03-22T13:49:07Z" /> </query-continue>
or
<query-continue> <recentchanges rccontinue="2013-03-22T10:01:55Z|13804" /> </query-continue>
You should just be using whatever is on that "recentchanges" node without regard for the specific keys or values (beyond correct handling for generators).
Or, for the new style continuation, it shouldn't matter whether it's
<continue continue="-||" rcstart="2013-03-22T14:33:34Z" />
or
<continue continue="-||" rccontinue="2013-03-22T14:27:48Z|13806" />
Again, you should just be using everything from the "continue" node without regard for the specific keys or values.