On Fri, May 1, 2015 at 4:41 PM, S Page <[email protected]> wrote: > On Fri, May 1, 2015 at 7:53 AM, Brad Jorsch (Anomie) < > [email protected]> > 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.html > > [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. -- Brad Jorsch (Anomie) Software Engineer Wikimedia Foundation _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
