Using MediaWiki Variables/Page name

A page name variable is one that expands to the name of a page or parts of a page name.

Every wiki page you visit belongs to a specific namespace. {{NAMESPACE}} expands to the namespace of the page you are currently viewing. When you view a page in the main namespace the variable expands to nothing (e.g: "") because the main namespace does not have a name. Try previewing a page in each namespace with {{NAMESPACE}} added. What do you see?


Using MediaWiki Variables/Page name
{{FULLPAGENAME}}
Using MediaWiki Variables/Page name
{{NAMESPACE}} {{PAGENAMEE}}
Using MediaWiki Variables Page name
{{NAMESPACE}} {{BASEPAGENAME}} {{SUBPAGENAME}}
Using_MediaWiki_Variables Page_name
{{NAMESPACEE}} {{BASEPAGENAMEE}} {{SUBPAGENAMEE}}