ITM logo P2PNS:
A Secure Distributed Name Service for P2PSIP
UKA logo
 
Home
Features
Download
Documentation
PlanetLab Demo
Mailing List
Publications
OverSim
Team
License
  • Login
  • Help/Guide
  • About Trac
  • Wiki
wiki:CamelCase

Context Navigation

  • Start Page
  • Index
  • History

CamelCase

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

CamelCase 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

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

  • To prevent the creation of a new link of a camel-cased word, prefix with an exclamation mark (!): !CamelCase.
  • To ignore links to missing pages when the link is written using the CamelCase style, that word can instead be replaced by a gray link followed by a question mark. This is useful in cases when CamelCase style is used to name code artefacts like class names and there is no corresponding page for them. This option can be set in ignore_missing_pages in the [wiki] section of TracIni.
  • To automatically insert space characters between the words of a CamelCase link when rendering the link, use split_page_names in the [wiki] section 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 wiki_format_messages in the [changeset] section of TracIni.

See TracIni for more information on the available options.

More information on CamelCase

  • ​http://c2.com/cgi/wiki?WikiCase
  • ​http://en.wikipedia.org/wiki/CamelCase

See also: WikiPageNames, WikiNewPage, WikiFormatting, TracWiki

Last modified 2 years ago Last modified on Apr 4, 2019, 10:07:32 AM

Download in other formats:

  • Plain Text

Trac Powered

Powered by Trac 1.2.3
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/