Page MenuHomePhabricator

Add widescreen resolutions to Image size limits for file description pages
Open, LowPublicFeature

Description

Author: nsk

Description:
The default value of $wgImageLimits should be updated to include widescreen resolutions.

now it is:

array (

array(320,240),
array(640,480),
array(800,600),
array(1024,768),
array(1280,1024),
array(10000,10000) 
)

it could be:

array (

array(320,240),
array(640,480),
array(800,480),
array(800,600),
array(1024,600),
array(1024,768),
array(1280,800),
array(1280,1024),
array(1440x900),
array(1680x1050),
array(10000,10000) 
)

Version: 1.14.x
Severity: enhancement
URL: https://commons.wikimedia.org/w/index.php?title=Commons:Village_pump/Proposals&oldid=88502688#Choices_of_size_of_image

Details

Reference
bz16081

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:18 PM
bzimport set Reference to bz16081.
bzimport added a subscriber: Unknown Object (MLST).

I'm not sure about this, but wouldn't that change break the settings for everyone who has selected 10000,10000?
The user preference is stored as an offset in the database. The only way to fix this without a schema change and without breaking any existing user preferences seems to add new options at the bottom.
The following should work, but it's ugly (because it isn't sorted by size).

array (

array(320,240),
array(640,480),
array(800,480),
array(800,600),
array(1024,600),
array(1024,768),
array(1280,800),
array(10000,10000),
array(1280,1024),
array(1440x900),
array(1680x1050)
)

A nice fix would require a different way of storing this preference in the database.

giusca wrote:

I propose that the HD resolution (1920×1080) to be added as a default download resolution, as that's a common resolution for all kinds of displays.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM
Aklapper removed a subscriber: wikibugs-l-list.