Page MenuHomePhabricator

MediaViewer download sizes should be configurable and align small sizes with wgThumbLimits
Open, MediumPublic2 Estimated Story Points

Description

MultimediaViewer offers a set of download size options, set in mmv.ui.utils.js
These are currently hardcoded/not configurable

These are impacted by $wgThumbnailSteps, so a user asking for a "small 640x480" download will in fact get the 960px thumb, which can be confusing.

Make these sizes configurable and throw a configuration error, if smaller sizes than provided in wgThumbnailSteps are used (not sure how to make this understandable to users yet).

Event Timeline

Change #1208409 had a related patch set uploaded (by Simon04; author: Simon04):

[mediawiki/extensions/MultimediaViewer@master] Make download sizes configurable using wgMediaViewerDownloadSizes

https://gerrit.wikimedia.org/r/1208409

HSwan-WMF lowered the priority of this task from High to Medium.Dec 3 2025, 5:35 PM
HSwan-WMF set the point value for this task to 2.Dec 3 2025, 5:40 PM