Edgewall Software

Changes between Version 5 and Version 6 of TracLinks


Ignore:
Timestamp:
Nov 8, 2004, 2:59:20 PM (20 years ago)
Author:
jbarranquero@…
Comment:

Document wiki: and milestone: links.

Legend:

Unmodified
Added
Removed
Modified
  • TracLinks

    v5 v6  
    22As you might have guessed, TracLinks are a very fundamental feature of Trac.
    33
    4 They allow easy hyperlinking to files, changesets, bugs/issues and wiki pages from anywhere in the system where WikiFormatting is used.
     4They allow easy hyperlinking to Trac items (tickets, reports, changesets, Wiki
     5pages, milestones and source files) from anywhere in the system where
     6WikiFormatting is used.
    57
    6 TracLinks can refer to tickets, reports and changesets by simply writing the
    7 ticket, report and changeset numbers in the following notation:
    8 {{{
    9  * Ticket #1 or ticket:1
    10  * Report {1} or report:1
    11  * Changeset [1] or changeset:1
    12  * File source:trunk/COPYING.
    13 }}}
     8TracLinks are generally of the form '''item:id''' (where ''id'' represents the
     9number, name or path of the item) though some frequently used kinds of items
     10have also alternative, shorthand notations. For example:
     11
     12 * Tickets: '''!#1''' or '''!ticket:1
     13 * Reports: '''!{1}''' or '''!report:1
     14 * Changesets: '''![1]''' or '''!changeset:1
     15 * Wiki pages: '''CamelCase''' or '''!wiki:CamelCase
     16 * Milestones: '''!milestone:1.0
     17 * Files: '''!source:trunk/COPYING
     18
    1419Display:
    15  * Ticket #1 or ticket:1
    16  * Report {1} or report:1
    17  * Changeset [1] or changeset:1
    18  * File source:trunk/COPYING.
     20 * Tickets: #1 or ticket:1
     21 * Reports: {1} or report:1
     22 * Changesets: [1] or changeset:1
     23 * Wiki pages: CamelCase or wiki:CamelCase
     24 * Milestones: milestone:1.0
     25 * Files: source:trunk/COPYING
    1926
    20 Trac links can also be given a custom link title like this:
     27The wiki:CamelCase form is rarely used, but it can be convenient to refer to
     28pages whose names do not follow WikiPageNames rules, i.e., single words,
     29non-alphabetic characters, etc.
     30
     31Trac links using the full (non-shorthand) notation can also be given a custom
     32link title like this:
    2133{{{
    2234[ticket:1 This is a link to ticket number one].
     
    3850
    3951== Where to use TracLinks ==
    40 You can use TracLinks and WikiFormatting in:
     52You can use TracLinks in:
    4153
     54 * Source code (Subversion) commit messages
    4255 * Wiki pages
    43  * Ticket descriptions
    44  * Source code (Subversion) commit messages
     56 * Full descriptions for tickets, reports and milestones
     57
     58and any other text fields explicitly marked as supporting WikiFormatting.
    4559
    4660== Escaping TracLinks ==