Foo
From Scratchpad
Bugs!
http://bugzilla.wikimedia.org/show_bug.cgi?id=1201 http://bugzilla.wikimedia.org/show_bug.cgi?id=1439 __FORCE TOC__ Testing sub-pages
[edit] See also
- Foo
- Foo/Bar
- Foo/Bar/Blee
[edit] Page names and related info
| Word | Example | Explanation |
|---|---|---|
| {{PAGENAME}} | Foo
| Returns the name of the current page, including all levels (Title/Subtitle). |
| {{PAGENAMEE}} | Foo
| More URL-friendly percent encoded special characters (To use an articlename in an external link). |
| {{SUBPAGENAME}} {{SUBPAGENAMEE}} | Foo
| [MW1.6+] Name of the current page, excluding parent pages ("Subtitle" on "Title/Subtitle") in namespaces supporting subpages, see Help:Link. |
| {{BASEPAGENAME}} {{BASEPAGENAMEE}} | Foo
| [MW1.7+] The basename of a subpage ("Title" on "Title/Subtitle"), see Help:Link. |
| {{NAMESPACE}} {{NAMESPACEE}} |
| Returns the name of the namespace the current page resides in. |
| {{FULLPAGENAME}} {{FULLPAGENAMEE}} | Foo
| [MW1.6+] Shorthands for NAMESPACE+PAGENAME |
| {{TALKSPACE}} {{TALKSPACEE}} | Talk
| [MW1.7+] Name of next odd namespace (e.g. 4 => 5) |
| {{SUBJECTSPACE}} {{SUBJECTSPACEE}} |
| [MW1.7+] Name of next even namespace (e.g. 5 => 4) |
| {{ARTICLESPACE}} {{ARTICLESPACEE}} |
| [MW1.7+] An alias for SUBJECTSPACE(E) |
| {{TALKPAGENAME}} {{TALKPAGENAMEE}} | Talk:Foo
| [MW1.7+] FULLPAGENAME in its TALKSPACE |
| {{SUBJECTPAGENAME}} {{SUBJECTPAGENAMEE}} | Foo
| [MW1.7+] FULLPAGENAME in its SUBJECTSPACE |
| {{ARTICLEPAGENAME}} {{ARTICLEPAGENAMEE}} | Foo
| [MW1.7+] An alias for SUBJECTPAGENAME(E) |
| {{REVISIONID}} | 281858
| [MW1.5+] The unique identifying number of a page, see Help:Diff. |
| {{SITENAME}} | Scratchpad
| Value of $wgSitename. |
| {{SERVER}} | http://scratchpad.wikia.com | Value of $wgServer |
| {{SCRIPTPATH}} |
| [MW1.5+] $wgScriptPath |
| {{SERVERNAME}} | scratchpad.wikia.com
| [MW1.5+] $wgServerName |
