Last modified: 2013-05-29 07:15:56 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 T44963, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42963 - Squid cache not being cleared for thumbs when updating new version of image
Squid cache not being cleared for thumbs when updating new version of image
Status: RESOLVED DUPLICATE of bug 41130
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.21.x
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 41371
  Show dependency treegraph
 
Reported: 2012-12-11 22:09 UTC by lex ein
Modified: 2013-05-29 07:15 UTC (History)
3 users (show)

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


Attachments
Screengrab of file page, including history and thumbnails as rendered. (150.54 KB, image/png)
2012-12-11 22:09 UTC, lex ein
Details

Description lex ein 2012-12-11 22:09:48 UTC
Created attachment 11490 [details]
Screengrab of file page, including history and thumbnails as rendered.

Thumbnail images which are kept on file pages, in the second column of table "File history", are "squashed" when created from wide, short images.

Example: http://en.wikipedia.org/wiki/File:PharmaSecure_Logo_TM.jpg


The thumbnail created from the 320x226 (6k) version of the image was correct.
Border reduction was requested, so I did that, starting from the 4961x3508 (1.69 MB) master file. This produced a in 320x87 (20k) image, which when uploaded, produced a "squashed" 

This appears to be because a new thumbnail was not actually created. Instead, the previous thumbnail was used:

https://upload.wikimedia.org/wikipedia/en/thumb/d/dc/PharmaSecure_Logo_TM.jpg/120px-PharmaSecure_Logo_TM.jpg - note borders still present

and was sized within the <img> tag, making it look squished.
Comment 1 Bawolff (Brian Wolff) 2012-12-12 00:02:05 UTC
Squid cache did not get purged for the thumbnail. Furthermore action=purging the image page does not purge the thumb.

This can be verified since https://upload.wikimedia.org/wikipedia/en/thumb/d/dc/PharmaSecure_Logo_TM.jpg/120px-PharmaSecure_Logo_TM.jpg?newUrlSoSquidDoesNotRecognize is the new version of the image.
Comment 2 lex ein 2012-12-12 15:33:36 UTC
ADD-ON to this bug? Related cached main image problem. Attempted reverts, and fresh uploads, do not update the main image . See example: 
http://en.wikipedia.org/wiki/File:Nokia_City_Lens_Screen.jpg 

Still showing old, smaller, 320x191, cached image:
http://upload.wikimedia.org/wikipedia/en/1/14/Nokia_City_Lens_Screen.jpg

Should be using new 478x286 image.
Comment 3 Bawolff (Brian Wolff) 2012-12-18 23:28:03 UTC
(In reply to comment #2)
> ADD-ON to this bug? Related cached main image problem. Attempted reverts, and
> fresh uploads, do not update the main image . See example: 
> http://en.wikipedia.org/wiki/File:Nokia_City_Lens_Screen.jpg 
> 
> Still showing old, smaller, 320x191, cached image:
> http://upload.wikimedia.org/wikipedia/en/1/14/Nokia_City_Lens_Screen.jpg
> 
> Should be using new 478x286 image.

I'm getting the 478x286 image from both north america and europe caching servers.

----

>https://upload.wikimedia.org/wikipedia/en/thumb/d/dc/PharmaSecure_Logo_TM.jpg/120px-PharmaSecure_Logo_TM.jpg
>- note borders still present

I believe the correct version is being served from europe caching servers, but not from north american ones. Making this a dupe of bug 41130

*** This bug has been marked as a duplicate of bug 41130 ***

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


Navigation
Links