FOSUGMain Page | About | Help | FAQ | Special pages | Log in

Categories: Help | Subpage
Printable version | Disclaimers | Privacy policy

Help:Subpages

From FOSUG

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.

Subpages introduce some hierarchical organisation into wiki page names, with levels of the hierarchy separated by slashes '/'.

Contents

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:

Example page
Example page/Some sub-page
Example page/Some sub-page/Some sub-sub-page

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 autmatically 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:

People instinctively think hierarchically when trying to organise information, so it may be tempting 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)

Image:Tools.svg Tip for wiki admins: Subpages can be activated within the 'main' namespace by adding to the $wgNamespacesWithSubpages array.

See also

Retrieved from "http://www.fosug.org/fosug/index.php/Help:Subpages"

This page has been accessed 191 times. This page was last modified 18:06, 20 March 2008. Content is available under GNU Free Documentation License 1.2.


Find

Browse
Home
About Fosug
Announcements
Group Photos
Schedules
IRC & Chat
Mailing List
Library/Resources
Previous Meetings
HowTo/Videos
Articles
Links
My Account
Edit
View source
Editing help