User:Degine/NeoWiki/Help:Subpages
Except in main namespace, where the subpage feature has been disabled, subpages are pages separated with a "/" (a slash) from their 'parent' page.
Making a new [[link]] that begins with a / (slash) is the common way to start a subpage. The page to which this link points is considered "subordinate" to its host page, and is titled and linked as [[Parentpage/Subpage]]. It is possible to create a subpage of a subpage (or a sub-subpage). At the top of each subpage or sub-subpage, you can find a backlink (a.k.a. breadcrumb) to the higher levels of the page.
Finding subpages
[edit]To get a list of all subpages of a page, go to the Special:Prefixindex page and type the parent page name followed by a slash. For example, for all subpages of User:Example, type User:Example/ in the input box and select Go:
You can also type Special:Prefixindex/User:Example/ in the main search box to get the same result.
To add a Subpages
link to the left toolbar, add this code to Special:MyPage/common.js and purge per the instructions at the top of the page:
mw.util.addPortletLink ('p-tb', wgServer+wgArticlePath.replace("$1", "Special:PrefixIndex/"+wgPageName+"/"), 'Subpages');
Articles do not have sub-pages (main namespace)
[edit]The MediaWiki software supports selectively allowing or disallowing the creation of subpages in various namespaces. In namespaces where subpages are supported, you can for instance create a subpage simply by linking to the name of the subpage, prefixed with a slash (e.g. [[/Archive]]).
For the NeoWiki, the following namespaces do not have the subpage feature: main, File, MediaWiki, and Category.
The main (article) namespace does not have this feature turned on, as strictly hierarchical organisation of articles is discouraged, and other distinctions are better made by placing pages in other namespaces (e.g. discussions go in "Talk:", and templates in "Template:").