InterWiki is a way to specify links to other wiki w/o specifying cryptic url. Read more on this.
Note: As of 0.10, Trac has built-in support for InterWiki links.
InterWiki syntax specification
InterWiki links are defined as an extension to TracLinks syntax, using link type prefix:
Here link tells that the InterWiki link is being defined, wikiname refers to external wiki name as defined in trac.ini (see configuration section below) and pagename refers to name of the wiki page on the linked wiki. Custom link titles like this one are also supported.
In order for interwiki links to work, configuration need to be provided in trac.ini.
To configure interwiki links add [interwiki] section to the site's trac.ini file. Each setting under this section defines single interwiki entry where key specifies wiki name and value specifies base URL to prefix wiki page with.
If you have any issues, create a new ticket.
Download the zipped source from here.
link:c2:FooName -- refer to FooName page on c2 wiki
link:wikipedia:WikiWikiWeb -- refer to WikiWikiWeb page on wikipedia
[link:wikipedia:WikiWikiWeb about wiki] -- refer to WikiWikiWeb page on wikipedia with different link text
Given the following configuration of the InterWiki module:
next sentences must hold true:Text
link:wiki:Foorenders as wiki:Foo.
link:WIKI:Foorenders as WIKI:Foo (note that wiki lookup is case insensitive but case is preserved on link text).
[link:wiki:page title text]renders as wiki:title text.
link:wikipedia:Wikirenders as wikipedia:Wiki.
link:wikipudia:Wikirenders as is (unknown wiki ref wikipudia).
link:wikipediarenders as is (no page specified).