wiki:CamelCase

Version 3 (modified by trac, 14 years ago) ( diff )

--

CamelCase

New words created by smashing together capitalized words.

Camel Case is the original wiki convention for creating hyperlinks, with the additional requirement that the capitals are followed by a lower-case letter; hence “AlabamA” and “ABc” will not be links.

Customizing the Wiki behavior

Some people dislike linking by Camel Case. While Trac remains faithful to the original Wiki style, it provides a number of ways to accomodate users with different preferences:

  • There's an option (ignore_missing_pages in the [wiki] section of Trac Ini) to simply ignore links to missing pages when the link is written using the Camel Case style, instead of that word being replaced by a gray link followed by a question mark.
    That can be useful when Camel Case style is used to name code artifacts like class names and there's no corresponding page for them.
  • There's an option (split_page_names in the [wiki] section of Trac Ini) to automatically insert space characters between the words of a Camel Case link when rendering the link.
  • Creation of explicit Wiki links is also easy, see Wiki Page Names for details.
  • In addition, Wiki formatting can be disabled completely in some places (e.g. when rendering commit log messages). See wiki_format_messages in the [changeset] section of Trac Ini.

See Trac Ini for more information on the available options.

More information on CamelCase


See also: Wiki Page Names, Wiki New Page, Wiki Formatting, Trac Wiki

Note: See TracWiki for help on using the wiki.