Olemis Lang wrote: > ... > For devs : > - You could use FirstTracLinkFormatter [2]_ (... or a better > solution ...) to easily expand the possibilities of your macros > accepting TracLinks ... > - If people like this and find it helpful, it could be included in > Trac itself (... either in utils.py or formatter.py, or ... ;) so that > it be at hand for everybody to be used ... ;) > >
Maybe you missed the trac.wiki.formatter's LinkFormatter and the extract_link() function? It does a "match" though so it can only be used when the argument you're working with is supposed to be /only/ a TracLink and not start with some other arbitrary wiki text. -- Christian > .. [2] FirstTracLinkFormatter > > (https://opensvn.csie.org/traccgi/swlcu/browser/trunk/trac-dev/gviz/ig/wiki...@17:97-L143#L97) > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
