Changes between Version 1 and Version 2 of WikiPageNames
- Timestamp:
- Aug 15, 2016, 5:36:48 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiPageNames
v1 v2 1 = Wiki Page Names = 1 = Wiki Page Names 2 [[TracGuideToc]] 2 3 3 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.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. 4 5 5 Page names mustfollow these rules:6 CamelCase page names follow these rules: 6 7 7 1. The name must consist of '''alphabetic characters only''' . No digits, spaces, punctuation,or underscores are allowed.8 1. The name must consist of '''alphabetic characters only'''; no digits, spaces, punctuation or underscores are allowed. 8 9 1. A name must have at least two capital letters. 9 10 1. The first character must be capitalized. 10 11 1. Every capital letter must be followed by one or more lower-case letters. 11 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.)12 1. The use of slash ( / ) is permitted in page names, where it typically represents a hierarchy. 12 13 13 If you want to create a wiki page that does n't follow CamelCase rules you coulduse the following syntax:14 If you want to create a wiki page that does not follow CamelCase rules. you can use the following syntax: 14 15 {{{ 15 [wiki:Wiki_page] 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]] 16 23 }}} 17 24 18 25 This will be rendered as: 19 [wiki:Wiki_page] 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 31 * even better, the new [[WikiCreole link style]] 32 and with a label: [[WikiCreole link style|WikiCreole style links]] 33 34 It is 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. 35 36 You can also prevent a !CamelCase name from being interpreted as a [TracLinks link] by quoting it with an exclamation mark: `!CamelCase`. See TracLinks#EscapingLinks. 37 38 As in the example above, you can also append an anchor to a Wiki page name to link to a specific section within that page. The anchor can 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 is also possible to specify it explicitly: see WikiFormatting#using-explicit-id-in-heading. 20 39 21 40 ---- 22 See also: WikiNewPage, WikiFormatting, TracWiki 41 See also: WikiNewPage, WikiFormatting, TracWiki, TracLinks