Changes between Version 4 and Version 5 of CamelCase
- Timestamp:
- 03/08/15 04:36:54 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CamelCase
v4 v5 1 = !CamelCase =2 New w ords created by smashing together capitalized words.1 = !CamelCase 2 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. 3 3 4 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.4 !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. 5 5 6 == Customizing the Wiki behavior ==6 == Customizing the Wiki behavior 7 7 8 Some people dislike linking by CamelCase. While Trac remains faithful to the original Wiki style, it provides a number of ways to accomodate users with different preferences:9 * T here's an option (`ignore_missing_pages` in the [wiki:TracIni#wiki-section "[wiki]"] section of TracIni) to simply ignore links to missing pages when the link is written using the CamelCase style, instead of that word being replaced by a gray link followed by a question mark.[[BR]]10 That can be useful when CamelCase style is used to name code artifacts like class names and there's no corresponding page for them.8 While Trac remains faithful to the original Wiki style, it provides a number of ways to accommodate users with different preferences: 9 * To prevent the creation of a new link of a camel-cased word, prefix with '!': `!CamelCase`. 10 * 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 artifacts like class names and there's no corresponding page for them. This option can be set in `ignore_missing_pages` in the [wiki:TracIni#wiki-section "[wiki]"] section of TracIni. 11 11 * There's an option (`split_page_names` in the [wiki:TracIni#wiki-section "[wiki]"] section of TracIni) to automatically insert space characters between the words of a CamelCase link when rendering the link. 12 12 * Creation of explicit Wiki links is also easy, see WikiPageNames for details. 13 * In addition, Wiki formatting can be disabled completely in some places (e.g. when rendering commit log messages). See `wiki_format_messages` in the [wiki:TracIni#changeset-section "[changeset]"] section of TracIni.13 * Wiki formatting can be disabled completely in some places, for example when rendering commit log messages. See `wiki_format_messages` in the [wiki:TracIni#changeset-section "[changeset]"] section of TracIni. 14 14 15 15 See TracIni for more information on the available options. 16 16 17 == More information on !CamelCase ==17 == More information on !CamelCase 18 18 19 19 * http://c2.com/cgi/wiki?WikiCase