Page MenuHomePhabricator

Preview/"other resolutions" links should be hidden for when image exceeds megapixel limit
Open, LowPublicFeature

Description

Author: mcdevitd

Description:
Images which exceed the megapixel limit still display the preview links under the preview in the image description page: "Size of this preview: 495 × 599 pixels. Other resolutions: 198 × 240 pixels | 396 × 480 pixels | 496 × 600 pixels | 634 × 768 pixels | 846 × 1,024 pixels | 7,258 × 8,785 pixels."

Since clicking any of these will only result in an error message since MediaWiki is unable to create the preview, the option should be hidden.

Example:
https://commons.wikimedia.org/wiki/File:Constitution_of_the_United_States,_page_1.tif


Version: 1.23.0
Severity: enhancement

Details

Reference
bz62307

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:04 AM
bzimport set Reference to bz62307.
bzimport added a subscriber: Unknown Object (MLST).

Possibly related to tiff files checking size limits too late.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM