A recent change has broken backwards compatibility when hard linking to thumbnails that are of a non standard size (say 31px) specified in a LocalSettings file. This also affects off wiki downloading and embedding as well.
Steps to replicate the issue (include links if applicable):
- I link to a thumbnail for an image hosted on wiki of a nonstandard size (i.e. upload.wikimedia.org/wikipedia/.../Imagename.svg/31px-Imagename.svg)
What happens?:
A 429 error is received.
What should have happened instead?:
The next largest image of a standard size OR a nonstandard size image generated on the spot should have been served for that one request.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Not applicable as it happening on WMF wikis with their scripts.
Other information (browser name/version, screenshots, etc.):
See https://en.wikipedia.org/wiki/User:Awesome_Aasim/searchengine.js as an example script.
If the error message is kept, the 429 error should be replaced with either 400 bad request or 410 gone.