Modify ↓
Opened 19 years ago
Closed 19 years ago
#2614 closed defect (worksforme)
In wiki, links like [../report] doesn't work properply
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | wiki system | Version: | 0.9.3 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
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 (0)
Change History (2)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Use the reports TracLinks syntax:
[report:8 My Tickets]
Note:
See TracTickets
for help on using tickets.
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 withhttp://my.site.com/myproject/wiki
and most of the time also withhttp://my.site.com/myproject
.This messes up the relative link logic. A possible fix would be to do a redirect to the "canonical" URL…