Last modified: 2014-08-25 18:05:00 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 T70013, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68013 - Parsoid wiki links don't have title attribute
Parsoid wiki links don't have title attribute
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Parsoid Team
:
: 58723 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-15 02:12 UTC by spage
Modified: 2014-08-25 18:05 UTC (History)
6 users (show)

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


Attachments

Description spage 2014-07-15 02:12:54 UTC
Hovercards (Extension:Popups) uses the title attribute of a link in an API query to get an extracts and thumbnail for a linked page.  This works because when Linker.php turns a wiki link into HTML, it sets the title attribute to the namespace:title (getPrefixedText()).

However, Parsoid doesn't do this, it doesn't output a title attribute.  Parsoid turns [[Talk:Main_Page]] into something like:

<a rel="mw:WikiLink" href="./Talk:Main_Page" data-parsoid='{"stx":"simple","a":{"href":"./Talk:Main_Page"},"sa":{"href":"Talk:Main_Page"},"dsr":[6,24,2,2]}'>Talk:Main_Page</a>

Hovercards may soon change to parsing the href contents. But this difference from Linker output may affect other gadgets and tools.
Comment 1 Gerrit Notification Bot 2014-07-31 19:25:42 UTC
Change 150888 had a related patch set uploaded by Arlolra:
WIP: Don't ignore titles

https://gerrit.wikimedia.org/r/150888
Comment 2 Gerrit Notification Bot 2014-08-03 17:41:02 UTC
Change 150888 merged by jenkins-bot:
Don't ignore titles

https://gerrit.wikimedia.org/r/150888
Comment 3 ssastry 2014-08-20 22:11:30 UTC
*** Bug 58723 has been marked as a duplicate of this bug. ***

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


Navigation
Links