Last modified: 2007-05-22 21:53:47 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 6072 - Add a border keyword to the Image syntax
Add a border keyword to the Image syntax
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.7.x
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-24 11:56 UTC by Lambiam
Modified: 2007-05-22 21:53 UTC (History)
1 user (show)

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


Attachments

Description Lambiam 2006-05-24 11:56:36 UTC
Add a border keyword to the Image syntax giving a grey border around the image
proper.

This would be useful for presenting images such as the flag of Dubai
<http://commons.wikimedia.org/wiki/Image:Flag_of_Dubai.svg> that have
"significant" white or very light colors all the way to the edge. It would also
be useful in combination with thumb(nail) or frame.

Various attempts at achieving the intended effect using HTML markup, <div>,
<span>, tables, or Template:Border, turn out to have annoying context-dependent
side effects.

The HTML img element already has a border attribute, which could be used, with
suggested (default) width = 1px. Suggested (default) color for the border =
#bbbbbb (compare Template:Infobox_Country on the English wikipedia), which can
be set in vanilla HTML using the font element.
Comment 1 shanemarkle 2006-07-05 19:15:04 UTC
Yeah.  That needs to be implemented. ~~~~
Comment 2 Rob Church 2006-07-05 19:19:29 UTC
Please do not post comments on bug reports which exist for the purposes of
advocacy. It clogs up our inboxes and wastes time and space here.
Comment 3 Raimond Spekking 2007-05-22 21:53:47 UTC
Fixed with r22358.

Usage: [[Image:Filename|border|100px|right]]

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


Navigation
Links