Edgewall Software

Version 21 (modified by Christian Boos, 18 years ago) ( diff )

Document how to target a specific section in a wiki page name (fixes #2541)

This page documents the 1.4 (latest stable) release. Documentation for other releases can be found here.

Wiki Page Names

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 same name.

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 to create a hierarchy inside the wiki. (See SubWiki and ParentWiki macros in the MacroBazaar which provide a way to list all sub-entries and a link up the hierarchy respectively.)

If you want to create a wiki page that doesn't follow CamelCase rules you could 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:

See also TracLinks#QuotingspaceinTracLinks

Finally, and as examplified 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 ¶ 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

Note: Since Trac 0.10, the undocumented trick of using "%20" in wiki links to fake a space character will not work anymore.


See also: WikiNewPage, WikiFormatting, TracWiki, TracLinks

Note: See TracWiki for help on using the wiki.