Opened 20 years ago
Closed 19 years ago
#1152 closed defect (fixed)
Linking to objects with space in name
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | 0.9 |
Component: | wiki system | Version: | 0.8 |
Severity: | normal | Keywords: | |
Cc: | danarmak@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
It's sometimes nice to have human-readable (several words, separated by spaces) names for objects, e.g. milestone. The problem is linking to it in Wiki. [milestone:Big Milestone] doesn't work obviously. What comes to mind is to quote it, milestone:"Big Milestone" and yes, that works! But quotes are considered to be part of milestone name, i.e. it expects to find "Big Milestone" (with quotes). So, so far there're only two workarounds for human-readbale names: either replace spaces with underscores, or add quotes around. It would be nice if quoting worked as expected.
Attachments (0)
Change History (5)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
[milestone:Big Milestone] would be interpreted as a link to a milestone named "Big", with "Milestone" as link text. The rule is that the second part in such a link is the label/text of the generated link, while the first part identifies the target URL.
comment:3 by , 19 years ago
Hi Folks,
How about putting the quotes round the link tag too, e.g.
Wouldn't that solve all problems?
Robin.
comment:4 by , 19 years ago
Cc: | added |
---|
comment:5 by , 19 years ago
Milestone: | → 0.9 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
r2134 also fixed this one ([milestone:"Big Milestone" That's the big milestone]
works as expected).
I think that [milestone:Big Milestone] should work as written without any quotes. This would be most wiki!