Version 11 (modified by Matoba Akihiro, 5 years ago) (diff)


generate TracLinks for the page


  1. Generate TracLinks in search box for { wiki: report: query: ticket: attachment: source: diff: log: milestone: timeline: search: comment:}.
    (in ja-JP) 表示しているページのTracLinksを検索ボックスに表示します。
  2. Add anchor in paragraphs and list items in wiki and ticket.
    (in ja-JP) Wikiとチケットにある段落やリスト項目にアンカーを追加します。

example TracLinks generated

  • wiki:WikiStart
  • wiki:/TracGuide#AdministratorGuide
  • ticket:1
  • ticket:1?version=1
  • report:1
  • report:7
  • query:owner=admin
  • attachment:test.txt:ticket:1
  • attachment:image.png:wiki:WikiStart
  • attachment:"file name with spaces.txt:wiki:with spaces"
  • log:@1:2
  • log:/trunk@1
  • log:anotherrepo/trunk@1
  • diff:@1:2
  • diff:trunk@1:2
  • diff:trunk//tags
  • diff:trunk@1//tags@2
  • diff:anotherrepo/trunk@2//anotherrepo/tags@3
  • milestone:milestone1
  • timeline:2012-02-22T15:31:04+09:00
  • search:searchtext
  • source:/trunk/file.txt
  • source:/trunk/file.txt@2
  • source:anotherrepo/trunk/file.txt
  • source:anotherrepo/trunk/file.txt@3
  • comment:1:ticket:1
  • source:/trunk/file.txt#L20
  • [/newticket?owner=admin&priority=major&status=new&type=defect&reporter=admin]
  • ticket:1#no1

Bugs/Feature Requests

Existing bugs and feature requests for TracLinksPlugin are here.

If you have any issues, create a new ticket.

related tickets

ImportError preventing plugin from being loaded
paragraph mark should not use in url
onhashchange, wiki links are broken in document mode := IE7
AttributeError: 'NoneType' object has no attribute 'id' error when enabling textbox
AnchorAnywhere generates #undefined;1 for paragraph "Attachment __file__​ added"



Download the zipped source from [download:traclinksplugin here].


You can check out TracLinksPlugin from here using Subversion, or browse the source with Trac.


  1. Install the plugin
    $ easy_install
  2. Enable the plugin
    ; conf/trac.ini
    traclinks.* = enabled


Recent Changes

15661 by matobaa on 2016-07-11 14:22:22
TracLinksPlugin: follows changeset:15474
15658 by matobaa on 2016-07-11 14:18:19
TracLinksPlugin: Fix a bug that browsers doesn't scroll to the hash anchor when traclinks.textbox.TextBox is not enabled
15505 by matobaa on 2016-04-26 23:04:34
TracLinksPlugin: update copyright regarding to r15504
15504 by matobaa on 2016-04-26 23:01:17
TracLinksPlugin: Fix bug that occurs "UnboundLocalError: local variable 'value' referenced before assignment" when a repository or directory is empty
13402 by matobaa on 2013-09-26 22:50:16
TracLinksPlugin: fixes #11324
13388 by matobaa on 2013-09-17 23:00:24
TracLinksPlugin: refs #11324 Quick hacked to avoid error, not fixed yet
13386 by matobaa on 2013-09-10 13:32:39
TracLinksPlugin: Refactored, added help for quick search box, template for newticket.
13378 by matobaa on 2013-09-05 15:19:17
TracLinksPlugin: fixed for non-ASCII string. Thsnks to feedback by jun66j5!
13373 by matobaa on 2013-09-01 22:43:50
TracLinksPlugin: fix a bug in [13370], in case without xhr, it should not use referer.
13370 by matobaa on 2013-08-30 15:55:24
TracLinksPlugin: refined [r13366], enable for autoexpand and highlight in browser dirlist.
13366 by matobaa on 2013-08-26 14:13:06
TracLinksPlugin: add highlight to browser preview, browser dirlist
13337 by matobaa on 2013-07-18 22:59:28

TracLinksPlugin: enabled followings:

13276 by matobaa on 2013-06-08 05:59:12
TracLinksPlugin: use sub-delims in Obsoletes [12686]
13078 by matobaa on 2013-05-11 02:13:46
TracLinksPlugin: avoid a conflict with PageOutline
12704 by matobaa on 2013-03-10 14:22:25
closes #10920, included license text for
ContextChromePlugin, EpochFieldPlugin, FieldTooltipPlugin, HideFieldChangesPlugin, MsSqlBackendPlugin, NeighborPagePlugin, QueryUiAssistPlugin, ShowWhenMacro, SnapshotPlugin, StatusHistoryChartMacro, and TracLinksPlugin.


Author: matobaa
Maintainer: matobaa

Attachments (2)

Download all attachments as: .zip