Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

#1152 closed defect (fixed)

Linking to objects with space in name

Reported by: coolhard@… 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 haui at haumacher.de, 19 years ago

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

comment:2 by Christopher Lenz, 19 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 pellatt@…, 19 years ago

Hi Folks,

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

milestone:Big milestone

Wouldn't that solve all problems?

Robin.

comment:4 by anonymous, 19 years ago

Cc: danarmak@… added

comment:5 by Christian Boos, 19 years ago

Milestone: 0.9
Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.