On Fri, May 1, 2015 at 4:41 PM, S Page spage@wikimedia.org wrote:
On Fri, May 1, 2015 at 7:53 AM, Brad Jorsch (Anomie) < bjorsch@wikimedia.org> wrote:
The general theme is that the ApiResult arrays now have more metadata, which is used to apply a backwards-compatible transformation for clients that need it
How does ApiResult know if a client needs this transformation?
If they don't use formatversion=2 to format=json or format=php, they get the BC transformation.
Is there anything API client developers should check in their code? It seems all the possible update work is in API module implementors.
https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2015-May/000082...
[bools]
Is this the cause of the EventLogging outage [1], [2]?
Probably, if the linked Gerrit change fixed it.
It seems EventLogging was just naively returning a JSON schema as its results, could other API modules that return JSON structures containing binary values also break clients?
It's possible, yes.