Author: kellen
Description:
On wikibooks, we're in need a of a variable similar to {{PAGENAME}} for false
namespaces.
On the Cookbook, we're using "Cookbook:" as a false namespace. We have set up a
template [http://en.wikibooks.org/wiki/Template:Recipe Template:Recipe] to
include on each recipe page which will add a small bit of navigation and, more
importantly, include each recipe in a category (so we can have an easily
maintainable recipe index), specifically
[http://en.wikibooks.org/wiki/Category:Recipe Category:Recipe]. Our template
currently uses [[Category:Recipe|{{PAGENAME}}]] to achieve this, but since each
page is prefixed by "Cookbook:", everything is indexed under "C". I realize we
could use {{1}} to pass in a value, but we're trying to avoid having to edit the
sort key for every page every time, so a variable which returns only the page
name after the false namespace would be invaluable.
There is a bug request [http://bugzilla.wikimedia.org/show_bug.cgi?id=1969 here]
which requests a "Cookbook:" be a proper namespace, which would alleviate this
particular occurrence of the problem, but it might resurface if we include false
namespaces under a proper "Cookbook:" namespace, e.g. with
"Cookbook:Recipe:Cardamom_Bread"
Version: unspecified
Severity: enhancement
OS: Linux
Platform: PC