Last modified: 2014-07-08 01:30:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69056, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67056 - Thumbnail 404s get cached
Thumbnail 404s get cached
Status: NEW
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 67651
  Show dependency treegraph
 
Reported: 2014-06-24 22:21 UTC by Tisza Gergő
Modified: 2014-07-08 01:30 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tisza Gergő 2014-06-24 22:21:49 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.)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links