| 1 | = !CamelCase |
| 2 | |
| 3 | 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. |
| 4 | |
| 5 | !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. |
| 6 | |
| 7 | == Customizing the Wiki behavior |
| 8 | |
| 9 | While Trac remains faithful to the original Wiki style, it provides a number of ways to accommodate users with different preferences: |
| 10 | * To prevent the creation of a new link of a camel-cased word, prefix with an exclamation mark (`!`): `!CamelCase`. |
| 11 | * 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:TracIni#wiki-section "[wiki]"] section of TracIni. |
| 12 | * To automatically insert space characters between the words of a CamelCase link when rendering the link, use `split_page_names` in the [wiki:TracIni#wiki-section "[wiki]"] section of TracIni. |
| 13 | * Creation of explicit Wiki links is also easy, see WikiPageNames for details. |
| 14 | * 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. |
| 15 | |
| 16 | See TracIni for more information on the available options. |
| 17 | |
| 18 | == More information on !CamelCase |
| 19 | |
| 20 | * http://c2.com/cgi/wiki?WikiCase |
| 21 | * http://en.wikipedia.org/wiki/CamelCase |
| 22 | |
| 23 | ---- |
| 24 | See also: WikiPageNames, WikiNewPage, WikiFormatting, TracWiki |