wiki:TracLinksPlugin

Version 14 (modified by matobaa, 11 years ago) (diff)

--

Generate TracLinks for the page, Put anchors on paragraphs

Description

  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

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

trac:ticket:9448

Download

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

Source

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

Installation

  1. Install the plugin
    $ easy_install http://trac-hacks.org/svn/traclinksplugin/0.12
    
  2. Enable the plugin
    ; conf/trac.ini
    [components]
    traclinks.* = enabled
    

Example

Recent Changes

17547 by matobaa on 2019-10-19 10:42:08
TracLinksPlugin: Port from genshi to javascript
17516 by matobaa on 2019-09-24 14:52:43
TracLinksPlugin: Fix a bug that miss paragraph anchors
16945 by matobaa on 2017-11-01 11:40:38
TracLinksPlugin: fixes #12760 "undefined"
(more)

Author/Contributors

Author: matobaa
Maintainer: matobaa
Contributors:

Attachments (2)

Download all attachments as: .zip