Edgewall Software

Changes between Initial Version and Version 1 of InterWiki


Ignore:
Timestamp:
Jul 7, 2005, 9:45:49 AM (19 years ago)
Author:
Christian Boos
Comment:

Extracted InterWiki related information from the InterTrac page

Legend:

Unmodified
Added
Removed
Modified
  • InterWiki

    v1 v1  
     1= Support for InterWiki links =
     2
     3''This is a proposal for implementing #40 and #1414''
     4''I think it's now ready for testing (see r1912)''
     5
     6== Definition ==
     7
     8An InterWiki link can be used for referring to a Wiki page
     9located in another Wiki system, and by extension, to any object
     10located in any other Web application, provided a simple URL
     11mapping can be done.
     12
     13== Link Syntax ==
     14
     15{{{
     16<target_wiki>(:<identifier>)+
     17}}}
     18
     19The link is composed by the targeted Wiki (or system) name,
     20followed by a column (e.g. {{{MeatBall:}}}),
     21followed by a page specification in the target.
     22
     23The target Wiki URL is looked up in a the InterMapTxt wiki page,
     24modelled after
     25[http://www.usemod.com/cgi-bin/mb.pl?InterMapTxt MeatBall:InterMapTxt].
     26
     27An addition to traditional InterWiki links, where the target
     28is simply ''appended'' to the URL,
     29Trac supports parametric InterWiki URLs:
     30identifiers {{{$1}}}, {{{$2}}}, ... in the URL
     31will be replaced by corresponding arguments from a list
     32made up from the page specification split by the ':' token.
     33
     34== Examples ==
     35
     36If the following is an excerpt of the InterMapTxt page:
     37
     38{{{
     39= InterWiki Map =
     40
     41This is the InterMapTxt wiki page,
     42modelled after the MeatBall:InterMapTxt page.
     43----
     44{{{
     45...
     46LiveJournal http://livejournal.com/users/
     47Login http://www.usemod.com/cgi-bin/mb.pl?action=login&p_userid=
     48MbTest http://www.usemod.com/cgi-bin/mbtest.pl?
     49MeatBall http://www.usemod.com/cgi-bin/mb.pl?
     50MetaWiki http://sunir.org/apps/meta.pl?
     51MetaWikiPedia http://meta.wikipedia.org/wiki/
     52Mineralienatlas http://www.mineralienatlas.de/lexikon/index.php/
     53MoinMoin http://moinmoin.wikiwikiweb.de/
     54...
     55Trac http://projects.edgewall.com/trac/$1/$2
     56}}}
     57}}}
     58
     59Then,
     60 * {{{MoinMoin:InterWikiMap}}} should be rendered as
     61   [http://moinmoin.wikiwikiweb.de/InterWikiMap MoinMoin:InterWikiMap]
     62 * {{{Trac:wiki:InterWiki}}} should be rendered as
     63   [wiki:InterWiki Trac:wiki:InterWiki].
     64