Last modified: 2013-04-22 16:14:50 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 T43483, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41483 - TIFF file on enwiki not showing file size units
TIFF file on enwiki not showing file size units
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
PagedTiffHandler (Other open bugs)
master
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
https://en.wikipedia.org/wiki/File:Sa...
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-29 01:45 UTC by Alex Monk
Modified: 2013-04-22 16:14 UTC (History)
7 users (show)

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


Attachments

Description Alex Monk 2012-10-29 01:45:44 UTC
See URL
Full resolution ‎(3,094 × 2,560 pixels, file size: 22, MIME type: image/tiff, 1 page)
Should be:
Full resolution ‎(3,094 × 2,560 pixels, file size: 22 MB, MIME type: image/tiff, 1 page)

My local version was different, but also didn't display the image so it's probably broken:
Samia_Halaby,_-Grey_and_Pink-_(2008).tif ‎(3,094 × 2,560 pixels, file size: 22.69 MB, MIME type: image/tiff)
Comment 1 lex ein 2012-10-29 03:56:26 UTC
I reduced (downscaled) and reuploaded the image, and the units still don't display:
Samia_Halaby,_"Grey_and_Pink"_(2008).tif ‎(500 × 414 pixels, file size: 607, MIME type: image/tiff, 1 page) 

Should be:
Samia_Halaby,_"Grey_and_Pink"_(2008).tif ‎(500 × 414 pixels, file size: 607 KB, MIME type: image/tiff, 1 page) 

Also tested:
http://en.wikipedia.org/wiki/File:Jo_Whit.tif
https://en.wikipedia.org/wiki/File:Jo_Whit.tif
http://en.wikipedia.org/wiki/File:Official_logo_of_the_NISE_Net.tiff
https://en.wikipedia.org/wiki/File:Official_logo_of_the_NISE_Net.tiff

Suspected cause: Output string formatting specific to _.tif_ files or _MIME type image/tiff_ files.

Wikimedia version from HTML source code:
meta name="generator" content="MediaWiki 1.21wmf2" 
-- Served by mw39 in 0.276 secs. --
Comment 2 Bawolff (Brian Wolff) 2012-10-29 15:06:29 UTC
>Suspected cause: Output string formatting specific to _.tif_ files or _MIME
>type image/tiff_ files.

Yes, paged tiff handler probably does a custom short description.

>My local version was different, but also didn't display the image so it's
>probably broken:
>Samia_Halaby,_-Grey_and_Pink-_(2008).tif ‎(3,094 × 2,560 pixels, file size:
>22.69 MB, MIME type: image/tiff)

You're probably not using paged tiff handler locally.

------

Appears to be caused by Gerrit change #29593 which was meant as a fix for bug 41305. I don't think that fix is appropriate since the size should never be an integer.
Comment 3 Siebrand Mazeland 2012-10-29 15:19:22 UTC
Gerrit change #30596 has patch.
Comment 4 db [inactive,noenotif] 2012-11-18 12:46:15 UTC
(In reply to comment #3)
> Gerrit change #30596 has patch.

Status Merged

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


Navigation
Links