Page MenuHomePhabricator

property datatype does not link
Closed, ResolvedPublic


When making a statement using a property of datatype property the value is not linked.

Event Timeline

Lydia_Pintscher raised the priority of this task from to High.
Lydia_Pintscher updated the task description. (Show Details)
Lydia_Pintscher changed Security from none to None.

In WikibaseValueFormatterBuilders, there is this list of formatters for HTML output:

		SnakFormatter::FORMAT_HTML => array(
			'PT:url' => 'Wikibase\Lib\HtmlUrlFormatter',
			'PT:commonsMedia' => 'Wikibase\Lib\CommonsLinkFormatter',
			'PT:wikibase-item' =>  array( 'this', 'newEntityIdHtmlFormatter' ),
			'VT:time' => array( 'this', 'newHtmlTimeFormatter' ),
			'VT:monolingualtext' => 'Wikibase\Formatters\MonolingualHtmlFormatter',

It's missing an entry for 'PT:wikibase-property' just like the one for 'PT:wikibase-item'. That should fix it.

Change 181064 had a related patch set uploaded (by Unicodesnowman):
Make property datatype link


Change 181064 merged by jenkins-bot:
Make property datatype link

Unicodesnowman closed this task as Resolved.Dec 19 2014, 4:09 PM
Unicodesnowman claimed this task.