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

           Summary: Using a post-1.14 image link ([[File:foo|link=bar]])
                    doesn't add nofollow to external links
           Product: MediaWiki
           Version: 1.15.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Page rendering
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: jtwyford+w...@gmail.com


Image links pointing to external sites using the File: syntax, (not the
<imagelink> extension) are not adding the rel=nofollow attribute to the
anchors.

Example:
[[File:Foo.jpg|alt=Foo|link=http://example.com]]

Produces:
<a href="http://example.com";><img alt="Foo" src="http://path/to/foo.jpg";
border="0" height="22" width="22"></a>

Should be:
<a href="http://example.com"; rel="nofollow"><img alt="Foo"
src="http://path/to/foo.jpg"; border="0" height="22" width="22"></a>

Regular external links [http://example.com Foo] work properly and include the
nofollow attribute.

-- 
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