Page MenuHomePhabricator

In outputs from an ask query, a way to perform the pipe trick on links would be most welcome
Closed, DeclinedPublic

Description

Author: morgon.kanter

Description:
My wiki uses a lot of suffixes in parenthesis, as well as ask queries, and it would be really nice to have a built-in way to perform the pipe trick ([[Link (blah)|]] becomes a link with text Link) on those links output by the ask query. Right now we use a pretty ugly template that gets the job done when you use the |template and |link=none parameters (see the URL), but it's a lot less optimal in terms of speed and readability than just having an option to do this straight in Semantic MediaWiki.


Version: unspecified
Severity: enhancement
URL: http://dungeons.wikia.com/wiki/Template:Semantic_Link_Pipe_Trick

Details

Reference
bz21546

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:46 PM
bzimport set Reference to bz21546.

morgon.kanter wrote:

Bump. This bug is over four years old now, and we've reached the point that we can't really use templates to cover up that formatting anymore because it's causing us some lag and pain. We really need the pipe trick output though or our navigation becomes horribly ugly.

I think, the developers could consider enabling pipe trick by default.

Aklapper subscribed.

The Semantic MediaWiki developers requested in https://phabricator.wikimedia.org/T64114 to move their task tracking to https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues and to close remaining tasks in Wikimedia Phabricator. If you still face the problem reported in this task in a supported version of SMW, please feel free to transfer your report to https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues . We are sorry for the inconvenience.