Last modified: 2014-07-08 01:30:43 UTC
Steps to reproduce: 1. get a thumbnail URL for a Commons-hosted image on beta, e.g. http://en.wikipedia.beta.wmflabs.org/w/api.php?action=query&prop=imageinfo&format=jsonfm&titles=File:Giant_planes_comparison.svg&iiprop=url&iiurlwidth=129 will return "thumburl": "http://127.0.0.1:8080/images/thumb/5/52/Giant_planes_comparison.svg/129px-Giant_planes_comparison.svg.png", 2. change the width to something else, open that URL, e.g. http://127.0.0.1:8080/images/thumb/5/52/Giant_planes_comparison.svg/137px-Giant_planes_comparison.svg.png will return "The source file 'Giant_planes_comparison.svg' does not exist." 3. repeat the API call with the new width. 4. open the thumbnail URL again Expected result: the URL in step 4 should work, as the API request in step 3 is supposed to generate it. (I would also expect the one in step2 to work, since 404 handling is enabled, but that's arguable and probably a different bug.) Actual result: the URL in step 4 returns the same error message as in step 2. (Not sure if this is a beta configuration issue, or something related to Varnish, or a MediaWiki bug. I tried reproducing locally, but I get even more broken behavior that way, thumbnail URLs never work. That might be bug 54202, although the error message is different.)