Page MenuHomePhabricator

BASEPAGENAME and SUBPAGENAME do not output properly
Closed, InvalidPublic

Description

Author: sadik.khalid

Description:
In Wikipedia, Wiktionary, etc.. I cannot get {{BASEPAGENAME}} to output the appropriate page name. If the page is called "title/foo", it is supposed to output "title", but instead I get "title/foo". Same output with {{SUBPAGENAME}}.


Version: unspecified
Severity: normal

Details

Reference
bz17411

Event Timeline

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

ayg wrote:

These magic words only make sense in namespaces where subpages are enabled. If you use them in a namespace where subpages are disabled, such as the main namespace of Wikipedia, they'll behave as you describe. This is intended functionality and not a bug. If this doesn't explain your problem, and you still think the behavior is incorrect, please post a link to a page exhibiting the problem.

sadik.khalid wrote:

Nice Comment Aryesh. Thanks