Realm URL resolve function needed Trac Plugins
|Reported by:||Owned by:|
In the current Trac code there seems to be no separate function/method to resolve a given TracLink to an full valid URL which can be used in XHTML code returned by macros.
I'm talking about macro similar to the Image macro which takes a trac realm like '
source:' or '
attachment:'. The Image macro has this resolving hardcoded while this should be an own method provided to all macros.
An easy solution would be just to take the relevant code out of the Image macro and put it in an separate method. This must be already implemented somewhere else too because the same conversation is done by '
If there is already such an method I couldn't find it. I searched the trac source code, check several macro and the Nabble trac forum.
Change History (10)
Changed 7 years ago by
comment:4 Changed 5 years ago by
- Keywords traclinks added
- Milestone changed from next-minor-0.12.x to 0.13
- Owner changed from rblank to cboos
- Severity changed from normal to minor