Last modified: 2007-05-22 21:53:47 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 T8072, the corresponding Phabricator task for complete and up-to-date bug report information.
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