Rob Wilkerson wrote: > On 9/14/06, Christian Boos <[EMAIL PROTECTED]> wrote: > >> Norbert Unterberg wrote: >> >>> Is there a wiki syntax for links relative within a single page? >>> >>> Example: When I have a wiki page "Test" with a section "Title 1", then >>> I can link to the sections using the [wiki:Test#Title1] syntax. Is >>> there a way to specify this link as a page-relative link, something >>> like [wiki:#Title1 See section 1]? In html this is possible (something >>> like <a href="http:#Title1"></a>, but is there a corresponding wiki >>> syntax? >>> >> Not so far, but I think that's something that is quite useful and that >> we could easily add. >> >> The syntax would be [#Title1 See section 1], as this would work >> anywhere, not only on Wiki pages. >> >> This change has no adverse effects, AFAICT. >> > > Wouldn't this impact the ticket links? Or are these looking for "#" > followed by a number (e.g. /#\d+/)? >
No, because of the surrounding [...], which imply links of the form [target label], where label is optional and 'target' must start either with a "link resolver prefix", like 'wiki:' or 'ticket:', or a character specific of some kind of relative link, so far "/" or ".", and now with the above proposal, also "#". -- Christian --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
