https://bugzilla.wikimedia.org/show_bug.cgi?id=16448
--- Comment #1 from Purodha Blissenbach <[EMAIL PROTECTED]> 2008-11-29
22:43:41 UTC ---
Adding some precision:
{{DEFAULTSORT:xyz}} - sets default sort key. We have that already.
New would be these:
{{DEFAULTSORT}} - renders nothing if no default sort key is set for the page.
{{DEFAULTSORT}} - yields the default sort key if one is set for the page.
{{DEFAULTSORT|xyzzy}} - renders "xyzzy" if no default sort key is set for the
page.
{{DEFAULTSORT|zyx}} - yields the default sort key if one is set for the page.
The latter two resemble parameter references in templates, thus,
inside templates you can do something like:
[[category:foo|{{{bar | {{DEFAULTSORT | {{PAGENAME}} }} }}}]]
which may come handy.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l