On Thu, Jun 18, 2015 at 12:13 PM, Yuri Astrakhan
<yastrak...@wikimedia.org> wrote:
> On Wed, Jun 17, 2015 at 7:44 PM, John Mark Vandenberg <jay...@gmail.com>
> wrote:
>
>>
>> The API currently emits a warning if a query continuation mode isnt
>> selected.
>>
>> I guess on July 1 the API could emit an error, and not return any query
>> data.
>> Then the data isnt going to cause weird behaviour - it will break,
>> properly.
>>
>>
> Hmm, this is actually an interesting idea - would it make sense to error on
> missing "continue" or "rawcontinue" for all action=query for about a month
> or two, so that everyone notices it right away and gets updated, and than
> resume with the new behavior?

Not 'all', please, but perhaps all queries where there is actual
continuation data like is used now for the existing warning.  I would
really to avoid the API failing at all, ever, for
"?action=query&meta=siteinfo" - that is how clients get the API
generator version, and only when we have the API generator version do
we know what features are supported by the API.

Or just not flick the switch on July 1, and only default to the new
continuation mode for formatversion=2.

-- 
John Vandenberg

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to