|Version 1 (modified by akhavr, 9 years ago) (diff)|
InterWiki syntax specification
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.
You can check out the source for InterWikiPlugin from Subversion at http://trac-hacks.swapoff.org/svn/interwikiplugin.
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).