On Thu, Jan 10, 2013 at 8:15 PM, Eric Sun <[email protected]> wrote: > > Something changed in the last couple of days that causes a bunch of API > calls to fail when grabbing image dimensions.
A change introduced in 1.21wmf7 causes this error. I've filed this as bug 43849,[1] more details are available there. [1]: https://bugzilla.wikimedia.org/show_bug.cgi?id=43849 > Requesting the data separately, i.e. > http://en.wikipedia.org/w/api.php?titles=File:Convento_Cristo_Decemebr_2008-18.jpg&prop=imageinfo&iiprop=dimensions&action=query&format=json > and > http://en.wikipedia.org/w/api.php?titles=File:Convento_Cristo_Decemebr_2008-8.jpg&prop=imageinfo&iiprop=dimensions&action=query&format=json > > give the correct result. Actually it doesn't. Note that it returns some of the result under a key of "0", and some under "", where everything should be under "-1". -- Brad Jorsch Software Engineer Wikimedia Foundation _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
