reStructuredText should define a TracLinks role
Reported by: |
naked@… |
Owned by: |
daniel |
Priority:
|
normal
|
Milestone:
|
|
Component:
|
wiki system
|
Version:
|
devel
|
Severity:
|
normal
|
Keywords:
|
|
Cc:
|
|
Branch:
|
|
Release Notes:
|
|
API Changes:
|
|
Internal Changes:
|
|
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
(9)
Milestone: |
→ 0.7
|
Owner: |
changed from Jonas Borgström to anonymous
|
Status: |
new → assigned
|
Owner: |
changed from anonymous to daniel
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Resolution: |
fixed
|
Status: |
closed → reopened
|
Description: |
modified (diff)
|
Milestone: |
0.7 → 0.9
|
Resolution: |
→ worksforme
|
Status: |
reopened → closed
|
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.