Page MenuHomePhabricator

External link alt title text is the URL, rather than the link title.
Closed, ResolvedPublic

Description

Author: erlercw

Description:
[http://www.yahoo.com Yahoo] shows in the alt text as Title: http://www.yahoo.com/; Address: http://www.yahoo.com.
The Title text should be simply Yahoo, as that is the wiki markup link title.


Version: 1.4.x
Severity: normal
OS: Linux
Platform: PC

Details

Reference
bz2147

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:27 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz2147.
bzimport added a subscriber: Unknown Object (MLST).

The title attribute shows the destination of the link, not the link text, *becase* the link text is
shown inline and the destination is not. If it just mirrored the link text, there wouldn't be any
point.

erlercw wrote:

Perhaps the best option is to just delete the "Title:" line for external weblinks. If duplicating the inline text has no point, then there is
certainly no point in duplicating the "Address:" line right below it and improperly naming it "Title:".

  • This bug has been marked as a duplicate of 542 ***

Reopening, since the fix for bug 524 in r76127 doesn't seem to address this case.

(In reply to comment #4)

Reopening, since the fix for bug 524 in r76127 doesn't seem to address this
case.

[http://www.yahoo.com/ Yahoo] produces <a rel="nofollow" class="external text" href="http://www.yahoo.com/">Yahoo</a>

No alt text at all.