Difference between revisions of "Help:Subpages"

From EEVblog Electronics Resource Wiki
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
{{PD Help Page}}
+
1005123605 http://manualip2cj.pp.ua/ies1.html  http://documentsjgq.pp.ua/kuelta1.html http://manualip2cj.pp.ua/vnauw2.html http://documents140.pp.ua/rlivwk2.html http://instructionsqsa.pp.ua/kml2.html  http://manualiguj.pp.ua/evr2.html http://instructionsqsa.pp.ua/cfco1.html http://documents140.pp.ua/coyx1.html  http://documentspacs.pp.ua/          http://documentsjgq.pp.ua/bmy2.html      http://manualip2cj.pp.ua/   http://manualiguj.pp.ua/tfhm1.html  http://documents4xm7.pp.ua/  http://documents140.pp.ua/          http://manualiguj.pp.ua/      http://documentsjgq.pp.ua/
'''Subpages''' introduce some hierarchical organization into wiki pages, with levels of the hierarchy separated by slashes (<code>/</code>).
 
 
 
=== Where it works ===
 
By default, MediaWiki's subpage feature is turned off in the main namespace, but can be used on [[Help:Talk pages|talk pages]] and [[Help:User page|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.
 
 
 
It's not possible to use slashes in the title of a page from a namespace where subpages are activated. However, as a crude hack, a character similar to the slash can be used instead, such as the "[[wikt:⧸|big solidus]]" (U+29F8), which results in Foo⧸bar (cf. a real slash: Foo/bar), or the [[wikt:⁄|solidus]] (U+2044), which results in Foo⁄bar. Three possible technical disadvantages (apart from the visual difference from a real slash) arise from this hack:
 
# People without the necessary fonts won't be able to view the character properly;
 
# Redirects from the title with a slash must be created, so that linking and search will work correctly.
 
# Both the [[Manual:Namespace#Subject and talk namespaces|subject and talk versions]] of a page (and their corresponding subpages, e.g. discussion archives) need to use the hack, so that moving a page would take all connected pages to the new title (if that setting is selected during the move). For example, subpages are disabled in the main namespace in Wikipedia, so while the talk page would need to use the solidus character to prevent having them marked as subpages, the corresponding page in the main namespace could keep an actual slash, is this goes unnoticed.
 
 
 
=== How it works ===
 
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
 
 
 
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 or if the subpage feature is turned off.
 
 
 
=== 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 [[Help:Talk pages|talk page]]
 
* to create scratchpad editing spaces under a [[Help:User page|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 [[Help:Category|category]] feature, which is more suitable for creating a hierarchical network of information.  
 
 
 
==See also==
 
* [[Manual:$wgNamespacesWithSubpages]]
 
* [[Meta:Help:Link#Subpage feature]]
 
* [[Help:Variables#Page names]]
 
* [[Special:PrefixIndex]] &ndash; Provides a list of subpages.
 
* [[:Category:Subpage_extensions|Subpage related extensions]]
 
 
 
{{languages}}
 
 
 
[[Category:Help|{{PAGENAME}}]]
 
[[Category:Subpage|{{PAGENAME}}]]
 

Revision as of 16:19, 10 May 2013