Opened 13 years ago
Last modified 4 years ago
#10350 new enhancement
e.g. [#1234] in svn commit 5678 comment generates wrong Trac link
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | next-major-releases |
Component: | wiki system | Version: | 0.12.2 |
Severity: | minor | Keywords: | traclinks |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The effect is that the Trac generated link will be http://......./changeset/5678#1234 which on clicking does not lead to the ticket 1234. The link should rather be http://....../ticket/1234.
IMHO the link generator should ignore the brackets if it sees the #.
The whole problem is because some people are used to brackets instead of parenthesis when they write additional comments in their texts. Actually, they should write (#1234)
, but I think you should also be able to stand the one with brackets.
Attachments (0)
Change History (3)
comment:1 by , 13 years ago
Component: | general → wiki system |
---|---|
Keywords: | traclinks added |
Milestone: | → next-major-0.1X |
Severity: | normal → minor |
comment:2 by , 11 years ago
Keywords: | traclink added; traclinks removed |
---|
comment:3 by , 11 years ago
Keywords: | traclinks added; traclink removed |
---|
[#<id>]
is the syntax for creating a relative link. As a digit is not allowed to start an ID (Name), we could make the relative link syntax a bit stricter, so that[#1234]
wouldn't match.