|
- Timestamp:
-
Feb 27, 2012, 2:28:33 PM (13 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v2
|
|
1 | 1 | = Wiki Page Names = |
| 2 | [[TracGuideToc]] |
2 | 3 | |
3 | 4 | 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. |
… |
… |
|
13 | 14 | If you want to create a wiki page that doesn't follow CamelCase rules you can use the following syntax: |
14 | 15 | {{{ |
15 | | * [wiki:Wiki_page], [wiki:ISO9000] |
16 | | * [wiki:"Space Matters"] that page name embeds space characters |
17 | | * or simply: ["WikiPageName"]s (!MoinMoin's internal free links style) |
| 16 | * [wiki:Wiki_page], [wiki:ISO9000], |
| 17 | and with a label: [wiki:ISO9000 ISO 9000 standard] |
| 18 | * [wiki:"Space Matters"] |
| 19 | and with a label: [wiki:"Space Matters" all about white space] |
| 20 | * or simply: ["WikiPageName"]s |
| 21 | * even better, the new [[WikiCreole link style]] |
| 22 | and with a label: [[WikiCreole link style|WikiCreole style links]] |
18 | 23 | }}} |
19 | 24 | |
20 | 25 | This will be rendered as: |
21 | | * [wiki:Wiki_page], [wiki:ISO9000] |
22 | | * [wiki:"Space Matters"] that page name embeds space characters |
23 | | * or simply ["WikiPageName"] (!MoinMoin's internal free links style) |
| 26 | * [wiki:Wiki_page], [wiki:ISO9000], |
| 27 | and with a label: [wiki:ISO9000 ISO 9000 standard] |
| 28 | * [wiki:"Space Matters"] ''(that page name embeds space characters)'' |
| 29 | and with a label: [wiki:"Space Matters" all about white space] |
| 30 | * or simply: ["WikiPageName"]s ''(old !MoinMoin's internal free links style)'' |
| 31 | * even better, the new [[WikiCreole link style]] |
| 32 | and with a label: [[WikiCreole link style|WikiCreole style links]] |
| 33 | ''(since 0.12, also now adopted by !MoinMoin)'' |
24 | 34 | |
25 | | See also TracLinks#QuotingspaceinTracLinks. |
26 | 35 | |
27 | | 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 |
| 36 | Starting with Trac 0.11, it's also possible to link to a specific ''version'' of a Wiki page, as you would do for a specific version of a file, for example: WikiStart@1. |
| 37 | |
| 38 | You can also prevent a CamelCase name to be interpreted as a TracLinks, by quoting it. See TracLinks#EscapingLinks. |
| 39 | |
| 40 | As visible in the example 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 explicitly: see WikiFormatting#using-explicit-id-in-heading. |
28 | 41 | ---- |
29 | 42 | See also: WikiNewPage, WikiFormatting, TracWiki, TracLinks |
|