This is an old revision of the document!
Table of Contents
Ticketlinker Plugin
Compatible with DokuWiki
2007-06-26
The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on dokuwiki.org. Recommended are public repository hosts like GitHub, GitLab or Bitbucket.
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Installation
- download ticketlinker.zip
- unzip into your lib/plugins/ folder:
lib/plugins/ticketlinker/syntax.php lib/plugins/ticketlinker/conf/metadata.php
Configuration
After installation you have to set these configuration options in your Admin → Configuration Settings:
ticketMaskLength
Length of ticket mask (e.g. 13)
cerberusUrl
Full URL path to your Cerberus installation, see example:
https://www.domain.tld/agents/display.php?ticket=
Usage
Every occurrence of
ticket#
will be processed - following 13 (configurable) characters will be used as ticket mask. Example:
ticket#XXX-12345-123
will be rendered as
<a href="https://www.domain.tld/agents/display.php?ticket=XXX-12345-123" target="_blank" title="Ticket #XXX-12345-123">#XXX-12345-123</a>
Change log
- Version 1.0.0 (2007-08-04)
- initial version
- only masked tickets are supported
- tested with Cerberus 2.7.0
ToDo's
- implement support for plugin manager automatic installation (how?)
- provide default values for configuration parameters (how?)
- rewrite source code according to DokuWiki coding style
Comments
For this kind of things, I find it simple to use interwiki links. in your interwiki.conf, just add
bug http://mybugtracker.com/?id=
then link to your bugs with
[[bug>the_bug_id]]
It will even appear with the icon you'll set for the 'bug' prefix. — Christophe Gragnic 2007-12-06 08:11