wiki:CamelCase

New wiki links are automatically created when concatenating capitalized words, such that for example the words 'Camel' and concatenated form a link to this CamelCoco? page.

Camelcoco is the original wiki convention for creating hyperlinks, with the additional requirement that the capital letters are followed by a lower-case letter; Customizing the Wiki behavior

While Trac remains faithful to the original Wiki style, it also provides a number of ways to accommodate users with different preferences:

  • To prevent the creation of a link for the CamelCoco? word, prefix the word with an exclamation mark (!):
  • By default a word with no corresponding Wiki page will be rendered as a gray link followed by a question mark. This is useful for example when the is used to name code artefacts like class names, and a Wiki page is expected to exist to document each class. The behavior can be configured through the option in TracIni.
  • To automatically insert space characters between the words of a Camel link when rendering the link, enable Ini#wiki-split_page_names-option split_page_names"] of TracIni.
  • Creation of explicit Wiki links is also easy, see WikiPageNames for details.
  • Wiki formatting can be disabled completely in some places, for example when rendering commit log messages. See the camelcoco wiki_format_messages" option in TracIni.

See TracIni for more information on the available options.

More information on CamelCase


See also: WikiPageNames, WikiNewPage, WikiFormatting, TracWiki

Last modified 2 years ago Last modified on May 2, 2021, 11:05:31 AM