Edgewall Software

Ticket #2614 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

In wiki, links like [../report] doesn't work properply

Reported by: hector@… Owned by: jonas
Priority: low Milestone:
Component: wiki system Version: 0.9.3
Severity: normal Keywords:
Cc:

Description

In the main page of my trac I have a link like this:

[../report/8 My tickets]

This link should point to "http://my.site.com/myproject/report/8", and as I save the wiki page it points to there, but if I load the wiki page again from other session (other computer), the link points to "http://my.site.com/report/8"

Attachments

Change History

Changed 3 years ago by cboos

This is probably because you have this link in the WikiStart page, which is kind of "special": you end up there not only with http://my.site.com/myproject/wiki/WikiStart, but also with http://my.site.com/myproject/wiki and most of the time also with http://my.site.com/myproject.

This messes up the relative link logic. A possible fix would be to do a redirect to the "canonical" URL...

Changed 3 years ago by mgood

  • status changed from new to closed
  • resolution set to worksforme

Use the reports TracLinks syntax:

[report:8 My Tickets]

Add/Change #2614 (In wiki, links like [../report] doesn't work properply)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.