Last modified: 2007-09-17 13:55:08 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 11338 - Border option in extended image syntax broken
Border option in extended image syntax broken
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-09-14 17:13 UTC by Michael Daly
Modified: 2007-09-17 13:55 UTC (History)
0 users

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


Description Michael Daly 2007-09-14 17:13:37 UTC
If you use the border option, no border shows up.  E.g. on Wikipedia

[[Image:Flag of Japan.svg|22px|border]]

The output is in an anchor tag: <a... class=image...><img ...image spec.../></a>.

Class "image" doesn't seem to be defined anywhere (not in standard main.css, Mediawiki:Common.css nor Mediawiki:Monobook.css).  I'm not sure what CSS will generate a border in an anchor tag with an image - nothing I experimented with would work.

Other options with a frame (e.g. thumb) creates <div>s to form borders.
Comment 1 Brion Vibber 2007-09-14 19:34:39 UTC
<img ... class="thumbborder">

Works for me, and shows just fine.
Comment 2 Michael Daly 2007-09-14 21:23:55 UTC
This is from MW 1.10 (image url elided):

<img alt="border" longdesc="..." src="..." width="101" height="73" />

no class="thumbborder".  Is this new to 1.11?

Comment 3 Brion Vibber 2007-09-17 13:55:08 UTC

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