Changes between Version 8 and Version 9 of WikiPageNames
- Timestamp:
- 01/09/07 14:27:22 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiPageNames
v8 v9 1 2 3 4 1 = Wiki Page Names = 5 2 6 Wiki page names are written using CamelCase. Within a wiki text, any word in CamelCase automatically becomes a hyperlink to the wiki page with that samename.3 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. 7 4 8 Page names must follow these rules:5 CamelCase page names must follow these rules: 9 6 10 7 1. The name must consist of '''alphabetic characters only'''. No digits, spaces, punctuation, or underscores are allowed. 11 1. A name must have at least two capital letters.12 1. The first character must be capitalized.13 1. Every capital letter must be followed by one or more lower-case letters.14 1. The use of slash ( / ) is permitted to create a hierarchy inside the wiki. (See !SubWiki and !ParentWiki macros in the [http://projects.edgewall.com/trac/wiki/MacroBazaar MacroBazaar] which provide a way to list all sub-entries and a link up the hierarchy respectively.)8 2. A name must have at least two capital letters. 9 3. The first character must be capitalized. 10 4. Every capital letter must be followed by one or more lower-case letters. 11 5. The use of slash ( / ) is permitted in page names (possibly representing a hierarchy). 15 12 16 If you want to create a wiki page that doesn't follow CamelCase rules you c oulduse the following syntax:13 If you want to create a wiki page that doesn't follow CamelCase rules you can use the following syntax: 17 14 {{{ 18 [wiki:Wiki_page] 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) 19 18 }}} 20 19 21 20 This will be rendered as: 22 [wiki:Wiki_page] 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) 23 24 25 See also TracLinks#QuotingspaceinTracLinks. 26 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 24 28 ---- 25 See also: WikiNewPage, WikiFormatting, TracWiki 29 See also: WikiNewPage, WikiFormatting, TracWiki, TracLinks