Border option in extended image syntax broken
Closed, DeclinedPublic

Description

Author: michaeldaly

Description:
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.


Version: unspecified
Severity: enhancement

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz11338.
bzimport created this task.Via LegacySep 14 2007, 5:13 PM
brion added a comment.Via ConduitSep 14 2007, 7:34 PM

<img ... class="thumbborder">

Works for me, and shows just fine.

bzimport added a comment.Via ConduitSep 14 2007, 9:23 PM

michaeldaly wrote:

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?

brion added a comment.Via ConduitSep 17 2007, 1:55 PM

Yes.

Gilles added a project: Multimedia.Via WebDec 4 2014, 10:49 AM
Gilles moved this task to Closed on the Multimedia workboard.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.