File: WikiPageNames

package info (click to toggle)
trac 0.10.3-1
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 2,692 kB
  • ctags: 2,972
  • sloc: python: 22,683; cs: 3,174; sh: 30; makefile: 10
file content (29 lines) | stat: -rw-r--r-- 1,684 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
= Wiki Page Names =

Wiki page names commonly use the CamelCase convention. Within wiki text, any word in CamelCase automatically becomes a hyperlink to the wiki page with that name.

CamelCase page names must follow these rules:

 1. The name must consist of '''alphabetic characters only'''. No digits, spaces, punctuation, or underscores are allowed.
 2. A name must have at least two capital letters.
 3. The first character must be capitalized.
 4. Every capital letter must be followed by one or more lower-case letters. 
 5. The use of slash ( / ) is permitted in page names (possibly representing a hierarchy).

If you want to create a wiki page that doesn't follow CamelCase rules you can use the following syntax:
{{{
 * [wiki:Wiki_page], [wiki:ISO9000]
 * [wiki:"Space Matters"] that page name embeds space characters
 * or simply: ["WikiPageName"]s (!MoinMoin's internal free links style)
}}}

This will be rendered as:
 * [wiki:Wiki_page], [wiki:ISO9000]
 * [wiki:"Space Matters"] that page name embeds space characters
 * or simply ["WikiPageName"] (!MoinMoin's internal free links style)

See also TracLinks#QuotingspaceinTracLinks.

Finally, and as exemplified in the line above, one can also append an anchor to a Wiki page name, in order to link to a specific section within that page. The anchor can easily be seen by hovering the mouse over a section heading, then clicking on the [[html(¶)]] sign that appears at its end. The anchor is usually generated automatically, but it's also possible to specify it explicitely, see WikiFormatting#using-explicit-id-in-heading
----
See also: WikiNewPage, WikiFormatting, TracWiki, TracLinks