Last modified: 2014-07-15 17:00:31 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 T70015, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68015 - Flow: title attribute of author link lacks namespace
Flow: title attribute of author link lacks namespace
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-15 07:18 UTC by spage
Modified: 2014-07-15 17:00 UTC (History)
5 users (show)

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


Attachments

Description spage 2014-07-15 07:18:13 UTC
On a Flow board, inspect the HTML of the blue flow-author link above a post. It is e.g.

	<span class="flow-author">
			<a href="/wiki/User:Jdlrobson"
			   title="Jdlrobson"
			   class="mw-userlink flow-ui-tooltip-target">

But the title attribute of a wiki link normally includes the page's namespace, i.e. it should be title='User:Jdlrobson".  Linker.php sets the title attribute of a wikilink to getPrefixedText(), but the user links in handlebars/flow_post_author.handlebars don't incude the namespace. Note that Parsoid doesn't output any title attribute for wiki links within Flow posts, bug 68013.

This is partly why Hovercards fails to show info about users on Flow boards, until bug 67466 is addressed it uses the title attribute of the link in an API query to get an extracts and thumbnail, but it isn't looking in the User namespace so usually gets no information.
Comment 1 Danny Horn 2014-07-15 17:00:31 UTC
In backlog: https://trello.com/c/LsIu5E5L

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


Navigation
Links