[go: up one dir, main page]

Page MenuHomePhabricator

Anchor tag surrounding a thumbnail's img tag no longer has a title attribute.
Open, LowPublic

Description

The <a> tag surrounding a thumbnail's <img> tag no longer has a title attribute. This is true for inline images as well as floating thumbnails.

[[Image:Foo.jpg|123px]] used to generate

<a href="http://commons.wikimedia.org/wiki/File:Foo.jpg" class="image" title="File:Foo.jpg"><img alt="Foo.jpg" src="http://upload.wikimedia.org/wikipedia/commons/thumb/0/06/Foo.jpg/123px-Foo.jpg" width="123" height="81" /></a>

but now generates

<a href="http://commons.wikimedia.org/wiki/File:Foo.jpg" class="image"><img alt="Foo.jpg" src="http://upload.wikimedia.org/wikipedia/commons/thumb/0/06/Foo.jpg/123px-Foo.jpg" width="123" height="81" /></a>

this is inconsistent with other types of links, which all do have a title attribute. Also, a tooltip showing the image's name on hover is quite useful. The alt attribute on the img tag does not accomplish this reliably (no effect in FF3 at least), and is not intended for this purpose.


Version: 1.16.x
Severity: normal
URL: http://commons.wikimedia.org/w/index.php?title=User:Duesentrieb/ImageRenderBug&action=render

Details

Reference
bz20712