Last modified: 2007-07-13 17:32:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10508 - Allow passing "style" (and possibly other attributes) to <gallery>
Allow passing "style" (and possibly other attributes) to <gallery>
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-07-09 08:47 UTC by Rémi Kaupp
Modified: 2007-07-13 17:32 UTC (History)
1 user (show)

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


Description Rémi Kaupp 2007-07-09 08:47:44 UTC
It would be interesting to allow borders in image galleries generated by <gallery> tags ; this would avoid the confusion when one gets a white flag on a white background, see for instance [[Gallery of maritime flags]], with the White Ensign not always legible.

It could be done with the same keyword as for images (|border|), or with a general keyword embedded in the <gallery> tag ?
Comment 1 Rob Church 2007-07-09 10:15:58 UTC
Images in galleries *do* have a border. It's a bit faint, I concede, but that's just a simple matter of tweaking some CSS.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-07-09 12:49:22 UTC
See also bug 1962, bug 6019, bug 10081.  If galleries could be given HTML attributes then the entire gallery could be given a border/background/etc., a related request.
Comment 3 Rémi Kaupp 2007-07-09 17:56:04 UTC
(In reply to comment #1)
> Images in galleries *do* have a border. It's a bit faint, I concede, but that's
> just a simple matter of tweaking some CSS.

Indeed but then the CSS has to be changed for the whole site ; yet borders are required only on some occasions ; allowing an optional paramter (or some HTML / CSS style) could help.
Comment 4 Brion Vibber 2007-07-13 17:32:48 UTC
Done in r24065

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