Help:Subpages

Where it works [ edit ]
By default, MediaWiki's subpage feature is turned off in the main namespace, but can be used on talk pages and user pages. See Help:Namespaces for description of namespaces and $wgNamespacesWithSubpages to learn how to modify this default behavior. In namespaces where the feature is switched off, any forward slashes within a page name are simply part of the page name and do nothing special.

When subpages are enabled in a namespace, a forward slash in the title of a page always causes the page to be a subpage. If this is not desired, you can #Bypass subpages using alternative characters.

How it works [ edit ]
Slashes (/) within a page name break the page into parent and subpages, recursively, e.g.:


 * Help:Subpages – this page
 * Help:Subpages/subpage – child page
 * Help:Subpages/subpage/sub-subpage – grandchild page
 * Help:Subpages/subpage/sub-subpage/sub-sub-subpage – great grandchild page
 * Help:Subpages/subpage/sub-subpage/sub-sub-subpage/sub-sub-sub-subpage – great great grandchild page

You can link directly to any page’s subpage using the normal double square brackets notation, by providing the full name – including the slash(es) and the individual subpage name(s). You can also link from one page to one of its own subpages using certain shortcuts, which are covered at Help:Links.

There are Magic words to split the name of a subpage, such as and, and the parser function for finer control.

Note that the part of page names after a slash is case sensitive including the first letter.

Breadcrumb links will appear automatically at the top of the subpage, linking to each parent page that exists. These links do not appear, however, if the parent pages have not yet been created or if the subpage feature is turned off.

As these automatic breadcrumb links are not in the page content, the breadcrumbs do not place parent pages in the What links here and Related changes lists.

If you move (rename) a parent page, you will be shown a list of the subpages, and users with the move-subpages user right will have the option to automatically "move subpages" (Up to 100).

Use of subpages [ edit ]
There are various uses for the subpage feature. Some of the typical usages of subpages are:


 * to create archives of old discussions under a talk page
 * to create scratchpad editing spaces under a user page
 * to create other language versions of a document in multilingual wikis

Which produces this:


 * 1) People without the necessary fonts won’t be able to view the character properly;
 * 2) Redirects from the title with a slash must be created, so that linking and search will work correctly.
 * 3) Meta:Help:Link#Subpage feature
 * 4) Special:PrefixIndex — Provides a list of subpages.