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)
comment:4 by , 11 years ago
|Milestone:||next-minor-0.12.x → 0.13|
|Severity:||normal → minor|