Page MenuHomePhabricator

{{SUBPAGENAME}} and {{SUBPAGENAMEE}} variable requested
Closed, ResolvedPublic

Description

Author: I.M.Knowles

Description:
Wikibooks new policy is that all chapters must be subpages it would be be useful
in a number of ways if the PAGENAME variable could distinguish between the
sub-levels. I'm asking to make it easier to insert categories via templates so
the page gets sorted properly in the category.


Version: unspecified
Severity: enhancement

Details

Reference
bz5167

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:08 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz5167.

I.M.Knowles wrote:

For example PAGENAME returns "Bartending/Cocktails/Apple Martini" im after
"Apple Martini"

robchur wrote:

Added in CVS HEAD.

Thank you for the very quick response; I've been meaning to file a bug about
this too. We still need {{SUBPAGENAMEE}}, though. Reopening.

robchur wrote:

{{SUBPAGENAMEE}} now added in SVN HEAD.