Edgewall Software

Ticket #1152 (closed defect: fixed)

Opened 4 years ago

Last modified 3 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@…

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

Changed 4 years ago by haui at haumacher.de

I think that [milestone:Big Milestone] should work as written without any quotes. This would be most wiki!

Changed 4 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.

Changed 4 years ago by pellatt@…

Hi Folks,

How about putting the quotes round the link tag too, e.g.

milestone:Big milestone?

Wouldn't that solve all problems?

Robin.

Changed 3 years ago by anonymous

  • cc danarmak@… added

Changed 3 years ago by cboos

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.9

r2134 also fixed this one ([milestone:"Big Milestone" That's the big milestone] works as expected).

Add/Change #1152 (Linking to objects with space in name)

Author



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