Tim Hatch wrote:
> Quick testing confirms it works as expected for links starting with "#"
> or "/".  Links starting with "." are still relative to the loaded page
> though.  Should those change too, for consistency?
>
> Thinking about it more, should links starting with "/" be passed
> through verbatim (as they are currently in the branch) or made relative
> to the project root?
>
> I also think tests would be a good idea before this is merged into
> trunk, to establish the proper behavior, whatever it ends up being.
>   

All very good advices. See my follow-up 
http://trac.edgewall.org/changeset/4442

This changes the current behavior of the relative links, which was not 
that useful.
In contrast, the new one is very useful, as it allows to build intuitive 
links within the hierarchy of wiki pages, and enable you to refer in a 
robust way to the trac root (i.e. relative to base url with '/' prefix) 
or the whole project root (i.e. relative to project url with '//' prefix).

-- Christian

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Trac Development" group.
To post to this group, send email to trac-dev@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to