https://bugzilla.wikimedia.org/show_bug.cgi?id=20712

           Summary: Anchor tag surrounding a thumbnail's img tag no longer
                    has a title attribute.
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
               URL: http://commons.wikimedia.org/w/index.php?title=User:Dues
                    entrieb/ImageRenderBug&action=render
        OS/Version: All
            Status: NEW
          Keywords: code-update-regression
          Severity: normal
          Priority: Normal
         Component: Images and files
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to