Opened 18 years ago
Closed 18 years ago
#3526 closed enhancement (fixed)
InterTrac is not available from ReStructuredText
Reported by: | Emmanuel Blot | Owned by: | Christian Boos |
---|---|---|---|
Priority: | low | Milestone: | 0.10 |
Component: | wiki system | Version: | devel |
Severity: | normal | Keywords: | reStructuredText |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
InterTrac links are not supported from WikiRestructuredText
This is a ticket to keep track of the original discussion: http://lists.edgewall.com/archive/trac-dev/2006-July/000798.html
Attachments (1)
Change History (4)
comment:1 by , 18 years ago
Owner: | changed from | to
---|
comment:2 by , 18 years ago
Milestone: | → 0.10 |
---|---|
Status: | new → assigned |
Replying to eblot:
InterTrac syntax would be
`project:wiki:WikiPage`:trac:
Alternative syntax could be`WikiPage`:trac:project:
I don't know whether the rST engine support ':', but you get the idea, something easier to type and read.
`WikiPage`:trac:project:
wouldn't be practical to implement, as this would require registering all the intertrac prefixes as reST directives.
OTOH, `project:wiki:WikiPage`:trac:
is quite simple to support and to explain:
there's only the :trac:
directive, and its argument can be any TracLinks.
The attachment:rst_trac_links-r3592.patch uses the standard link parser instead of the few special cases that were hard-coded so far. This not only simplifies the code, but also adds support for all the TracLinks (InterTrac and InterWiki links included).
by , 18 years ago
Attachment: | rst_trac_links-r3592.patch added |
---|
Simplify and generalize the :trac:
directive for reST
comment:3 by , 18 years ago
Keywords: | reStructuredText added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Patch applied in r3610.
(waiting for feedback about the syntax to use from rST for InterTrac links)