Opened 20 years ago
Last modified 18 years ago
#273 closed enhancement
reStructuredText should define a TracLinks role — at Version 6
Reported by: | Owned by: | daniel | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wiki system | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
As WikiRestructuredTextLinks are a reality now, there should also be an interpreted text role for TracLinks. That is, to be able to say:
There is `WikiPage`:trac: and issue `#12`:trac: here.
Instead of the really awkward current way:
There is |WikiPage| and issue |#12| here. .. |WikiPage| trac:: WikiPage .. |#12| trac:: #12
A possible option could be even having the trac interpreted text role as a default, so one could even leave out the ":trac:" part from those, but that would be incompatible with pages that expect it to be the default title-reference role.
Change History (6)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
Milestone: | → 0.7 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 20 years ago
Owner: | changed from | to
---|
comment:4 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Awesome contribution. Thank you very much.
Merged and fixed in [462].
comment:5 by , 19 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
`#12`:trac:
works, but `ticket:12`:trac:
does not.
comment:6 by , 19 years ago
Description: | modified (diff) |
---|---|
Milestone: | 0.7 → 0.9 |
I created a trivial implementation of this, as proof of concept. I don't know python, and there's no error processing, but it should be trivial to fix this into a proper form by someone who actually knows what he's doing.