Page MenuHomePhabricator

Standardisation of file info at image pages
Closed, ResolvedPublic

Description

Actual we have two different messages beneath an image of its description page,
dependent on the real image size and the personal preferences / files ("Limit
images on image description pages to:")

[[MediaWiki:fileinfo]] and [[MediaWiki:showbigimage]]

Both messages have different parameters.

For a better consistency I propose the change to one message only with identical
parameters:

[[MediaWiki:fileinfonew]]:
Filename: $1, file size: $2 kB, file type: $3, image resolution: $4 x $5 pixel

$1 links to the fullsize image (as today)
image resolution for images only

An optional parameter to indicate if the shown image is the full size image?
There must be something in the source for the decision what of the actual two
messages has to be used.

Resolution info for audio and video files would be great, but this should be
another bug I guess...?


Version: unspecified
Severity: enhancement

Details

Reference
bz7782

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:27 PM
bzimport set Reference to bz7782.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

Call the message something else, then, like "file-info"; "new" won't be the case
forever, and it's misleading.

mailmaix wrote:

The notice "no higher resolution available" is also shown at SVG images, which
is wrong, since vector graphics are scalable.

(In reply to comment #3)

The notice "no higher resolution available" is also shown at SVG images, which
is wrong, since vector graphics are scalable.

Fixed with r20151

mailmaix wrote:

(In reply to comment #4)

Fixed with r20151

Cool, that was very quick ;)

But I've still seen (at the Commons) the text at SVG images

Sadly it's not live yet :-( [[Special:Version]] shows you r20145 (today). Be
patient... Thanks.

rotemliss wrote:

*** Bug 9324 has been marked as a duplicate of this bug. ***

  • Bug 9596 has been marked as a duplicate of this bug. ***

keenanpepper wrote:

"This is a lossless scalable vector image. Base size: 266 × 174 pixels." Now
that's more like it! Good job, everyone.