~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/underlay/pages/HelpOnEditing(2f)SubPages/revisions/00000001

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Please edit system and help pages ONLY in the master wiki!
 
2
## For more information, please see MoinMoin:MoinDev/Translation.
 
3
##master-page:Unknown-Page
 
4
##master-date:Unknown-Date
 
5
#acl -All:write Default
 
6
#format wiki
 
7
#language en
 
8
HelpContents > HelpOnEditing
 
9
 
 
10
== Creating Subpages ==
 
11
 
 
12
Subpages are groups of pages that share a common prefix, which itself is another page. While this is also possible with "classic" wiki, by using names like {{{SomeTopicSubTopic}}}, the use of {{{SomeTopic/SubTopic}}} allows better navigational support, and you can omit the common prefix when linking from the parent page to the child page.
 
13
 
 
14
Thus, by using "/" to concatenate several WikiName''''''s, you can create arbitrarily deep hierarchies (within limits, especially the length of filenames on your system). In reality, subpages are normal pages that contain a "/" in their name, and thus they are stored besides all other pages in the file system. Subpages are a configurable feature, but they're on by default and it's recommended that you keep it that way, since the help pages themselves use this feature.
 
15
 
 
16
Links to sibling pages start with "`../`", for example ../SubPages (a link to this page).
 
17
 
 
18
=== Example ===
 
19
{{{
 
20
 * HelpOnEditing/SubPages
 
21
 * [[HelpOnEditing/SubPages|This very page]]
 
22
 * /ThirdLevel
 
23
 * [[/ThirdLevel|A page below this one]]
 
24
 * [[/sub page with arbitrary page name]]
 
25
 * ../SubPages
 
26
 * [[../]] (anonymous parent link)
 
27
 * [[../|free parent link]]
 
28
}}} 
 
29
 
 
30
=== Display ===
 
31
 * HelpOnEditing/SubPages
 
32
 * [[HelpOnEditing/SubPages|This very page]]
 
33
 * /ThirdLevel
 
34
 * [[/ThirdLevel|A page below this one]]
 
35
 * [[/sub page with arbitrary page name]]
 
36
 * ../SubPages
 
37
 * [[../]] (anonymous parent link)
 
38
 * [[../|free parent link]]
 
39
 
 
40
/!\ Please do all of us a favour and don't create the /ThirdLevel pages, it's just an example!