Subject: | Feature request: TracLinks |
I see that you're using the "[<url> <text>]" syntax to allow for HTTP
links to be specified, and wondered if that could be easily extended
to allow for other types of TracLinks... :)
Let me describe my pipe dream (so it at least gets written down
somewhere)...
---
I'm using Text::Trac in a message board package that I'm working on
for a website, and would love to be able to have things like "#123" do
an immediate cross-reference to "Message #123".
Making this work would require some additional info at instantiation
time, though, to help specify where things should get linked to (and
if they don't have a target defined, they shouldn't get auto-linked).
With instantiation parameters like:
- "url_trac"; specifies the URL to a Trac repository, and all other
location parameters get autoconfigured based on this
(e.g. "http://example.com/")
- "url_ticket"; specifies the base URL for tickets
(e.g. "http://example.com/ticket/")
- "url_report"; specifies base URL for reports
(e.g. "http://example.com/report/")
...
Initially I'd love to see "Tickets" and "Changesets", but if the
support were generic enough it should be possible to support all of
the various types of TracLinks.