Last modified: 2014-05-23 01:07:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18081, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16081 - Add widescreen resolutions to Image size limits for file description pages
Add widescreen resolutions to Image size limits for file description pages
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.14.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
https://commons.wikimedia.org/w/index...
: schema-change
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-23 22:54 UTC by NSK Nikolaos S. Karastathis
Modified: 2014-05-23 01:07 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description NSK Nikolaos S. Karastathis 2008-10-23 22:54:44 UTC
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) 
     )
Comment 1 Church of emacs 2009-08-02 19:15:16 UTC
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.
Comment 2 Bogdan Giuşcă 2013-02-12 17:56:57 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links