Maxim Khitrov wrote: >>> What I need then is a way to rewrite the documentation urls via Genshi >>> site.html template. This is where my knowledge is lacking a bit. I've >>> spent a few hours trying to come up with a rule that works, but so far >>> no luck. Can this be done in an elegant way (i.e. a regular expression >>> match and replace on the href attribute similar to my RedirectMatch >>> rule)? The 'class="missing wiki"' also needs to be removed if it is >>> present, and so does the '?' at the end of the page name. >>> >>> ... > If possible, however, I'd rather use the template since that would be > a universal solution for all the hosted sites. Everything keeps > working as before and I don't need to mess with the database or the > source code. >
Another solution would be to create a patch and plugin for the wiki formatter that would look at wiki/default-pages and render links to some default pages as external links. Sort of like a Wiki Preprocessor. Obviously WikiStart and a few others would need to be considered (and skipped). Ted --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
