Hi,
Something changed in the last couple of days that causes a bunch of API
calls to fail when grabbing image dimensions.
This error is consistently generated from the URL below:
{"servedby":"mw72","error":{"code":"internal_api_error_MWException","info":"Exception
Caught: Internal error in ApiResult::setElement: Attempting to add
element imagerepository=shared, existing value is shared","*":""}}
http://en.wikipedia.org/w/api.php?titles=File:Convento_Cristo_Decemebr_2008-18.jpg|File:Convento_Cristo_Decemebr_2008-8.jpg&prop=imageinfo&iiprop=dimensions&action=query&format=json
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.
Other multi-queries like
http://en.wikipedia.org/w/api.php?titles=File:Convento_Cristo_Decemebr_2008-18.jpg|File:ConventSanDiegoMexicoCity.JPG|File:Conventional-lathe.jpg|File:Conventioneersposter.jpg|File:Convento_de_Cuilapan.jpg|File:Convento_Arr%C3%A1bida.JPG&prop=imageinfo&iiprop=dimensions&action=query&format=json
also consistently work fine.
What's going on here?
Thanks,
Eric
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api