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

           Summary: File with empty link= has no title/tooltip
           Product: MediaWiki
           Version: unspecified
          Platform: All
               URL: http://translatewiki.net/w/i.php?title=Translating:New
                    _project&oldid=2190741
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Images and files
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: s.mazel...@xs4all.nl
                CC: gpaum...@wikimedia.org, bryan.tongm...@gmail.com,
                    innocentkil...@gmail.com


Adding a linkless file with "link=" will result in a file display without a
title attribute.

Steps:
1. add a file like the following to a wiki page: [[File:Crystal Clear app
ksmiletris.png|64px|Alt text|link=]]

Observed: <img height="64" width="64"
src="http://translatewiki.net/w/images/thumb/Crystal_Clear_app_ksmiletris.png/64px-Crystal_Clear_app_ksmiletris.png";
alt="Alt text">

Expected: title attribute with value "Alt text"; <img height="64" width="64"
src="http://translatewiki.net/w/images/thumb/Crystal_Clear_app_ksmiletris.png/64px-Crystal_Clear_app_ksmiletris.png";
alt="Alt text" title="Alt text">

This would show a title/tooltip even if there is no link.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to