On Thu, Jun 18, 2015 at 10:37 AM, Brian Gerstle bgerstle@wikimedia.org wrote:
- Current, "change the default" approach:
does this even work for API's w/o a response payload?)
- All clients start receiving warnings as *extra payload data* (how
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.