Edgewall Software

Opened 14 years ago

Closed 12 years ago

#40 closed enhancement (fixed)

InterWiki links support

Reported by: daniel Owned by: Christian Boos
Priority: normal Milestone: 0.10
Component: wiki system Version: devel
Severity: major Keywords: intertrac
Release Notes:
API Changes:


It'd be sweet to have support for InterWiki links in wiki pages.

See also: http://moinmoin.wikiwikiweb.de/InterWiki

Attachments (1)

interwiki.patch (2.4 KB ) - added by bje@… 14 years ago.
Patch against 0.7.1 to support InterWiki links

Download all attachments as: .zip

Change History (12)

comment:1 Changed 14 years ago by daniel

See also #41

comment:2 Changed 14 years ago by daniel

Priority: highnormal
Version: 2.0

comment:3 Changed 14 years ago by daniel

Milestone: 1.0
Version: 2.0devel

comment:4 Changed 14 years ago by bje@…

I just added support for InterWiki links to my local Trac state, of a kind. In trac.ini, I added a section:

trac = http://foo.com/projects/$page/trac.cgi/wiki

I then fiddled Wiki.py around to check those options when it encountered an unknown module link, changed the url regexps to match modules as well as other URLs (and also to limit the character set more rigidly), and removed the obsoleted modulehref regexp. Upshot is, with the above setting, the following section renders correctly:

[trac:foo An InterWiki link][[BR]]

In current trac, this renders as:

An InterWiki link
trac:foo[[BR]] http://foo.com[[BR]] Apache::Session

I'll attach a patch, but my local copy of Wiki.py is very heavily modified, since we use a TWiki in other contexts and sharing the syntax was desirable. (It's going to get even more heavily modified, since TWiki syntax more or less requires you to examine context around a match, and Trac's approach means anything in that context cannot be used in other Wiki markup …)

Changed 14 years ago by bje@…

Attachment: interwiki.patch added

Patch against 0.7.1 to support InterWiki links

comment:5 Changed 13 years ago by Christian Boos

Milestone: 1.00.9
Owner: changed from Jonas Borgström to Christian Boos
Status: newassigned

I've updated the InterTrac page to include a specification for InterWiki support.

comment:6 Changed 13 years ago by Christian Boos

Priority: normalhighest

The support for InterWiki links has been implemented in the InterTrac branch.

You can check it out, at revision r1912:

svn co http://svn.edgewall.com/repos/trac/branches/cboos-dev/intertrac-branch

comment:7 Changed 13 years ago by Christian Boos

Milestone: 0.91.0
Priority: highestnormal
Severity: normalmajor

This will be post-poned to 1.0.

The InterTrac branch will be actively maintained meanwhile, and a patch for each released 0.9 version will be attached to ticket #234.

comment:8 Changed 13 years ago by Christian Boos

In fact, I created a special purpose ticket for the branch integration: #2041. You can find the patches against 0.9.x there.

comment:9 Changed 12 years ago by Christian Boos

Keywords: intertrac added

comment:10 Changed 12 years ago by Christopher Lenz

Milestone: 1.00.10

comment:11 Changed 12 years ago by Christian Boos

Resolution: fixed
Status: assignedclosed

InterWiki links are now part of the mainstream Trac, since r2839.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christian Boos.
The resolution will be deleted.
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.