Page MenuHomePhabricator

Category sort key treats parameter as literal
Closed, DeclinedPublic


Author: morten

When a template is used for category insertion, and used with a variable for the category
sort key, (such as {{templatename|sortkey}}, with template text being
[[Category:name|sortkey]]) - the template messes up the sort key of the category, listing
pages below "{" instead of the beginning letters. This occurs both with using ordinary
text as sortkey, as well as variables such as {{PAGENAME}}.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:16 PM
bzimport set Reference to bz6821.
bzimport added a subscriber: Unknown Object (MLST).

aculver wrote:

Confirmed in 1.7.1

[[Category:Wiki tools|{{{sortkey}}}]]

In article:

aculver wrote:

of course.

ayg wrote:

Confirmed on test-wiki: Note
that category display on the page itself is also buggy, see [[Test:6821]] (if
that works).

This seems to be working fine, now. See
Probably has been fixed by someone in the meantime.

morten wrote:

Looks like you're right! Great ! :-)