Edgewall Software

Ticket #3526 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

InterTrac is not available from ReStructuredText

Reported by: eblot Owned by: cboos
Priority: low Milestone: 0.10
Component: wiki system Version: devel
Severity: normal Keywords: reStructuredText
Cc:

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

rst_trac_links-r3592.patch (2.9 kB) - added by cboos 2 years ago.
Simplify and generalize the :trac: directive for reST

Change History

Changed 2 years ago by eblot

  • owner changed from jonas to cboos

(waiting for feedback about the syntax to use from rST for InterTrac links)

Changed 2 years ago by cboos

  • status changed from new to assigned
  • milestone set to 0.10

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).

Changed 2 years ago by cboos

Simplify and generalize the :trac: directive for reST

Changed 2 years ago by cboos

  • keywords reStructuredText added
  • status changed from assigned to closed
  • resolution set to fixed

Patch applied in r3610.

Add/Change #3526 (InterTrac is not available from ReStructuredText)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.