#691 closed enhancement (fixed)
relative links in wiki
| Reported by: | dju` | Owned by: | Christian Boos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9 |
| Component: | wiki system | Version: | devel |
| Severity: | trivial | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
i'd appreciate creating relative links in wiki pages, by doing:
[../some_dir/ back to home] [dox/ doxygen documentation]
however, it seems only absolute links beginning by http: are supported.
Attachments (2)
Change History (17)
comment:1 by , 21 years ago
comment:2 by , 21 years ago
| Severity: | normal → enhancement |
|---|
by , 21 years ago
| Attachment: | WikiFormatter.patch added |
|---|
patch for trac trunk implementing relative links
comment:3 by , 21 years ago
Added patches to implement relative links through a link: tag, comments welcome.
comment:4 by , 21 years ago
| Milestone: | → 0.8 |
|---|---|
| Version: | 0.7.1 → devel |
comment:7 by , 21 years ago
| Milestone: | 0.8 → 0.9 |
|---|---|
| Priority: | normal → low |
comment:9 by , 20 years ago
| Owner: | changed from to |
|---|---|
| Priority: | low → normal |
| Status: | new → assigned |
Priority raised :) I'll add that to the InterTrac branch.
comment:10 by , 20 years ago
| Owner: | changed from to |
|---|---|
| Status: | assigned → new |
comment:11 by , 20 years ago
It's now implemented in the InterTrac branch, in r1921.
For the syntax, I kept the original proposal,
not the link: syntax proposed by Tom.
Also, one additional restriction I added
was that the relative link must begin with
either a / or a .
This is in case we support alphanumerical changeset names (IIRC, Darcs needs that). Although the regexp for the changeset would come first, I think it is better to have a non-ambiguous syntax.
Therefore, [./here] works, but not [here].
comment:12 by , 20 years ago
| Milestone: | 0.9 → 1.0 |
|---|---|
| Severity: | normal → trivial |
comment:13 by , 20 years ago
This doesn't seem to be related to InterTrac as far as I can tell. Would it be possible to port this feature to trunk?
comment:14 by , 20 years ago
| Milestone: | 1.0 → 0.9 |
|---|---|
| Status: | new → assigned |
Yes, no problem (no problems expected, at least :) )
comment:15 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed in [2159]
Syntax supported:
[../some_dir/ back to home] [./sibling/ look besides] [/dox/ doxygen documentation] [//example.com/there there, using the same protocol as here]
Syntax not supported:
link:/path/to/something [link:/path/to/something name] [dox/ doxygen documentation]



Actually, wouldn't it be more consistent to do something like:
Also, it would be nice if the first form would auto-inline images as is done with http:// links now.