Page MenuHomePhabricator

Allow a category link text to differ from the destination of the link
Closed, DuplicatePublic

Description

A normal wikilink may be piped, so that the linked text differs from the page that is linked to. This obviously does not work for categories, since the part of the "link" after the pipe is used for the sort key. Is it possible to add a "parameter" to a category link that would be used to specify the displayed text? If this parameter were e.g. |display= we could then use [[Category:Foo|Bar|display=Baz]], and the page would be placed in Category:Foo, sorted as Bar, and the link in the box at the bottom of the page would be Baz.

Requested at English Wikipedia.

Event Timeline

Redrose64 raised the priority of this task from to Needs Triage.
Redrose64 updated the task description. (Show Details)
Redrose64 subscribed.
Aklapper triaged this task as Lowest priority.Mar 3 2015, 3:42 PM