wiki:TracLinks

Version 4 (modified by trac, 6 years ago) ( diff )

--

Trac Links

TracLinks are a fundamental feature of Trac, allowing easy hyperlinking between the various entities in the system — such as tickets, reports, changesets, Wiki pages, milestones, and source files — from anywhere WikiFormatting is used.

TracLinks are generally of the form type:id (where id represents the number, name or path of the item) though some frequently used kinds of items also have short-hand notations.

You can use TracLinks in:

  • Source code (Subversion) commit messages
  • Wiki pages
  • Full descriptions for tickets, reports and milestones

and any other text fields explicitly marked as supporting WikiFormatting.

Overview

Wiki Markup Display
Wiki pages
CamelCase or wiki:CamelCase
Parent page
[..]
Tickets
#1 or ticket:1
Ticket comments
comment:1:ticket:2
Reports
{1} or report:1
Milestones
milestone:1.0
Attachment
attachment:example.tgz (for current page attachment), attachment:attachment.1073.diff:ticket:944 (absolute path)
Changesets
r1, [1], changeset:1 or (restricted) [1/trunk], changeset:1/trunk, [1/repository]
Revision log
r1:3, [1:3] or log:@1:3, log:trunk@1:3, [2:5/trunk]
Diffs
diff:@1:3, diff:plugins/0.12/mercurial-plugin@9128:9953, diff:tags/trac-0.9.2/wiki-default//tags/trac-0.9.3/wiki-default or diff:trunk/trac@3538//sandbox/vc-refactoring@3539
Files
source:trunk/COPYING, source:/trunk/COPYING@200 (at version 200), source:/trunk/COPYING@200#L25 (at version 200, line 25), source:/trunk/COPYING@200:27-30#L25 (at version 200, line 25, highlighting lines 27-30)
Wiki pages
CamelCase or wiki:CamelCase
Parent page
..
Tickets