Last modified: 2011-12-14 17:37:32 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 T31600, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29600 - Gallery: number of images hardcoded
Gallery: number of images hardcoded
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.17.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-26 22:29 UTC by Frederik Schwarzer
Modified: 2011-12-14 17:37 UTC (History)
2 users (show)

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


Attachments

Description Frederik Schwarzer 2011-06-26 22:29:50 UTC
The number of images shown in gallery mode is 48, which is OK, if four images are shown in one row. It is not however, if three or five images fit to the design's or window's width.

Is it possible to make the number of images adapt dynamically to the number of imageas that can be shown in a row?
Comment 1 Brion Vibber 2011-06-27 17:31:02 UTC
This could probably be done but would require making the page much more dynamic, loading bits from client-side JavaScript. It would probably be better at that point to go all=in and give it much more interactive filtering and whatnot.
Comment 2 Bawolff (Brian Wolff) 2011-06-28 04:17:54 UTC
Note, in trunk special:newfiles is not longer hard coded to 48. Its now 50 by default and there's the standard limit option where you can change how many are displayed. (That's not really what your definition of dynamic was, but its an improvement)

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


Navigation
Links