Page MenuHomePhabricator

TIFF file on enwiki not showing file size units
Closed, ResolvedPublic

Description

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)


Version: master
Severity: trivial
URL: https://en.wikipedia.org/wiki/File:Samia_Halaby,_%22Grey_and_Pink%22_%282008%29.tif

Details

Reference
bz41483

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:51 AM
bzimport set Reference to bz41483.
bzimport added a subscriber: Unknown Object (MLST).

lexein-w wrote:

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. --

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.

(In reply to comment #3)

Gerrit change #30596 has patch.

Status Merged

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:27 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:21 AM