Difference between revisions of "Help:Subpages"
Old Hippie (talk | contribs) m (1 revision) |
(No difference)
|
Revision as of 14:11, 28 November 2008
Important note: When you edit this page, you agree to release your contribution into the public domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the Public Domain Help Pages, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages. See Help:Copying for instructions. |
Subpages introduce some hierarchical organisation into wiki page names, with levels of the hierarchy separated by slashes '/'.
Namespaces
MediaWiki's subpage feature is turned off by default in the main namespace, but can be used on talk pages and user pages. See Help:namespaces. In namespaces where the feature is switched off, any slashes (/) within a page name are simply part of the page name and do nothing special.
Slashes within a page name
Slashes (/) within a page name break the page into parent and subpages, recursively, eg:
A link back to parent will automatically appear at the top of each subpage. In the case of sub-sub-pages, a set of breadcrumb navigation links will automatically be presented. Note that these links do not appear, however, if the parent page has not yet been created.
Using (and over-using) sub pages
There are various uses for the subpage mechanism. The main two intended uses are:
- On a talk page create a subpage (or several) for an archiving of old discussions
- On a user page create a subpage (or several) to use as a scratchpad editing space.
People instinctively think hierarchically when trying to organise information, so it may be tempting to use subpages all the time. However, subpages can be over-used. Remember that having a page name with a slash will generally make the name longer, harder to remember, and thus more difficult to link to. Some people find it more elegant to keep page naming simple. By sticking to a flat naming structure, with a manually maintained web of wiki links, a structure will emerge organically (and this can include a pseudo-hierarchy)
20px | Tip for wiki admins: Subpages can be activated within the 'main' namespace by adding to the {{ #ifeq:
moparwiki.com |
www.mediawiki.org | $wgNamespacesWithSubpages | $wgNamespacesWithSubpages
}} array. |
See also
moparwiki.com
| www.mediawiki.org | Manual:$wgNamespacesWithSubpages | Manual:$wgNamespacesWithSubpages }}
Languages | Languages: |
English {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/af | • {{#if: Help:Subpages|Afrikaans| Afrikaans}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/ar | • {{#if: Help:Subpages|العربية| العربية}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/az | • {{#if: Help:Subpages|azərbaycanca| azərbaycanca}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/bcc | • {{#if: Help:Subpages|جهلسری بلوچی| جهلسری بلوچی}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/bg | • {{#if: Help:Subpages|български| български}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/br | • {{#if: Help:Subpages|brezhoneg| brezhoneg}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/ca | • {{#if: Help:Subpages|català| català}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/cs | • {{#if: Help:Subpages|čeština| čeština}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/da | • {{#if: Help:Subpages|dansk| dansk}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/de | • {{#if: Help:Subpages|Deutsch| Deutsch}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/el | • {{#if: Help:Subpages|Ελληνικά| Ελληνικά}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/es | • {{#if: Help:Subpages|español| español}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/fa | • {{#if: Help:Subpages|فارسی| فارسی}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/fi | • {{#if: Help:Subpages|suomi| suomi}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/fr | • {{#if: Help:Subpages|français| français}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/gl | • {{#if: Help:Subpages|galego| galego}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/gu | • {{#if: Help:Subpages|ગુજરાતી| ગુજરાતી}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/he | • {{#if: Help:Subpages|עברית| עברית}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/hu | • {{#if: Help:Subpages|magyar| magyar}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/id | • {{#if: Help:Subpages|Bahasa Indonesia| Bahasa Indonesia}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/it | • {{#if: Help:Subpages|italiano| italiano}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/ja | • {{#if: Help:Subpages|日本語| 日本語}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/ko | • {{#if: Help:Subpages|한국어| 한국어}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/ksh | • {{#if: Help:Subpages|Ripoarisch| Ripoarisch}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/mr | • {{#if: Help:Subpages|मराठी| मराठी}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/ms | • {{#if: Help:Subpages|Bahasa Melayu| Bahasa Melayu}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/nl | • {{#if: Help:Subpages|Nederlands| Nederlands}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/no | • {{#if: Help:Subpages|norsk| norsk}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/oc | • {{#if: Help:Subpages|occitan| occitan}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/pl | • {{#if: Help:Subpages|polski| polski}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/pt | • {{#if: Help:Subpages|português| português}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/ro | • {{#if: Help:Subpages|română| română}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/ru | • {{#if: Help:Subpages|русский| русский}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/si | • {{#if: Help:Subpages|සිංහල| සිංහල}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/sq | • {{#if: Help:Subpages|shqip| shqip}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/sr | • {{#if: Help:Subpages|српски / srpski| српски / srpski}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/sv | • {{#if: Help:Subpages|svenska| svenska}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/th | • {{#if: Help:Subpages|ไทย| ไทย}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/tr | • {{#if: Help:Subpages|Türkçe| Türkçe}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/uk | • {{#if: Help:Subpages|українська| українська}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/vi | • {{#if: Help:Subpages|Tiếng Việt| Tiếng Việt}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/yue | • {{#if: Help:Subpages|粵語| 粵語}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/zh | • {{#if: Help:Subpages|中文| 中文}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/zh-hans | • {{#if: Help:Subpages|中文(简体)| 中文(简体)}}|}} {{#ifexist: {{#if: Help:Subpages | Help:Subpages | {{#if: Help | Help:}}Subpages}}/zh-hant | • {{#if: Help:Subpages|中文(繁體)| 中文(繁體)}}|}} |