Last modified: 2009-02-09 11:17:42 UTC
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}}.
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.
Nice Comment Aryesh. Thanks