On Thu, Jun 18, 2015 at 10:37 AM, Brian Gerstle <[email protected]>
wrote:

>    1. Current, "change the default" approach:
>       1. All clients start receiving warnings as *extra payload data* (how
>       does this even work for API's w/o a response payload?)
>

What module in api.php doesn't have a response payload? action=opensearch
with format=json is the only example I can think of.


>       5. Server removes API 2 (becomes the new default)
>       6. Clients A, B, & C have to switch to API 1
>

You're making false assumptions here. For example, with this continuation
change, explicitly supplying '&continue=' in the initial query is not going
to suddenly stop working. Nor is '&rawcontinue=', for that matter.

The same goes for a hypothetical future change to make '&formatversion=2'
the default for format=json. We wouldn't suddenly make clients have to
supply '&formatversion=1' to get the formatversion=2 behavior, or make
supplying a formatversion be an error or warning.


-- 
Brad Jorsch (Anomie)
Software Engineer
Wikimedia Foundation
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to