Ticket #1152 (closed defect: fixed)
Opened 7 years ago
Last modified 6 years ago
Linking to objects with space in name
| Reported by: | coolhard@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9 |
| Component: | wiki system | Version: | 0.8 |
| Severity: | normal | Keywords: | |
| Cc: | danarmak@… | ||
| Release Notes: | |||
| API 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
Change History
comment:1 Changed 7 years ago by haui at haumacher.de
comment:2 Changed 7 years ago by cmlenz
[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 Changed 7 years ago by pellatt@…
Hi Folks,
How about putting the quotes round the link tag too, e.g.
Wouldn't that solve all problems?
Robin.
comment:4 Changed 7 years ago by anonymous
- Cc danarmak@… added
comment:5 Changed 6 years ago by cboos
- Milestone set to 0.9
- Resolution set to fixed
- Status changed from new to 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!