From Fedora Project Wiki

(→‎Use of subpages: customize for fp.o)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


=== Where it works ===
=== Where it works ===
By default, MediaWiki's subpage feature is turned off in the main namespace, but can be used on [[Help:Talk|talk pages]] and [[Help:User page|user pages]]. 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. See [[Help:Wiki_structure]].
MediaWiki's subpage feature can be used on [[Help:Talk|talk pages]] and [[FedoraProject:User_pages|user pages]]. 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.  
 
Because Fedora Project migrated from another application which used slashes (/) in normal organization, subpages are enabled in the Fedora Project wiki but are discouraged for the main namespace. See [[Help:Wiki_structure#General_naming_rules]]. Imported pages are being renamed and redirected to new names which follow the current wiki structure policies.


=== How it works ===
=== How it works ===
Line 18: Line 20:
There are various uses for the subpage feature. Some of the typical usages of subpages are:
There are various uses for the subpage feature. Some of the typical usages of subpages are:
* to create archives of old discussions under a [[Help:Talk |talk page]]
* to create archives of old discussions under a [[Help:Talk |talk page]]
* to create scratchpad editing spaces under a [[Help:User page|user page]]
* to create scratchpad editing spaces under a [[FedoraProject:User_pages|user page]]
* to create other language versions of a document in multilingual wikis
* to create other language versions of a document in multilingual wikis



Latest revision as of 00:36, 6 March 2009

Subpages introduce some hierarchical organization into wiki pages, with levels of the hierarchy separated by slashes (/).

Where it works

MediaWiki's subpage feature can be used on talk pages and user pages. 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.

Because Fedora Project migrated from another application which used slashes (/) in normal organization, subpages are enabled in the Fedora Project wiki but are discouraged for the main namespace. See Help:Wiki_structure#General_naming_rules. Imported pages are being renamed and redirected to new names which follow the current wiki structure policies.

How it works

Slashes (/) within a page name break the page into parent and subpages, recursively, e.g.:

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

In subpages, A link back to antecedent pages will automatically appear at the top. These links do not appear, however, if the antecedent pages have not yet been created.

Use of subpages

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

Subpages are useful for organising information hierarchically. On the other hand, subpages tend to have a long name that is hard to remember, so it may be more user-friendly to use them as little as possible. You can also organize pages with the category feature, which is more suitable for creating a hierarchical network of information.