Edgewall Software
Modify

Opened 15 years ago

Closed 15 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)

rst_trac_links-r3592.patch (2.9 KB ) - added by Christian Boos 15 years ago.
Simplify and generalize the :trac: directive for reST

Download all attachments as: .zip

Change History (4)

comment:1 by Emmanuel Blot, 15 years ago

Owner: changed from Jonas Borgström to Christian Boos

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

comment:2 by Christian Boos, 15 years ago

Milestone: 0.10
Status: newassigned

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 Christian Boos, 15 years ago

Attachment: rst_trac_links-r3592.patch added

Simplify and generalize the :trac: directive for reST

comment:3 by Christian Boos, 15 years ago

Keywords: reStructuredText added
Resolution: fixed
Status: assignedclosed

Patch applied in r3610.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.