Last modified: 2011-04-14 15:11:05 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 T22712, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20712 - Anchor tag surrounding a thumbnail's img tag no longer has a title attribute.
Anchor tag surrounding a thumbnail's img tag no longer has a title attribute.
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.16.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.wikimedia.org/w/index....
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-18 08:34 UTC by Daniel Kinzler
Modified: 2011-04-14 15:11 UTC (History)
4 users (show)

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


Attachments

Description Daniel Kinzler 2009-09-18 08:34:40 UTC
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.
Comment 1 Alexandre Emsenhuber [IAlex] 2009-09-18 11:46:06 UTC
CC'ing rememberthedot since this was caused by r52726.

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


Navigation
Links