Changes between Version 1 and Version 2 of InterWiki


Ignore:
Timestamp:
Mar 12, 2015, 4:35:26 PM (10 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InterWiki

    v1 v2  
    11= Support for InterWiki links =
    2 
    3 ''(since [milestone:0.10])''
    42
    53== Definition ==
     
    119
    1210At the extreme, InterWiki prefixes can even be used to simply introduce
    13 links to new protocols, such as `tsvn:` used by TortoiseSvn.
     11links to new protocols, such as `tsvn:` used by [trac:TortoiseSvn TortoiseSvn].
    1412
    1513== Link Syntax ==
     
    2422Note that, as for InterTrac prefixes, '''InterWiki prefixes are case insensitive'''.
    2523
    26 The target Wiki URL is looked up in the InterMapTxt wiki page,
    27 modelled after MeatBall:InterMapTxt.
     24The target Wiki URL is looked up in the `[interwiki]` section of TracIni or in the InterMapTxt wiki page, modeled after MeatBall:InterMapTxt. If a prefix is defined in both the `[interwiki]` section and InterMapTxt, the `[interwiki]` section takes precedence.
    2825
    2926In addition to traditional InterWiki links, where the target
     
    3431The argument list is formed by splitting the page identifier
    3532using the ":" separator.
     33
     34=== [interwiki] ===
     35Every option in the `[interwiki]` section in TracIni defines one InterWiki prefix. The option name defines the prefix. The option value defines the URL, optionally followed by a description separated from the URL by whitespace. Parametric URLs are supported as well.
     36
     37'''Example:'''
     38{{{
     39[interwiki]
     40MeatBall = http://www.usemod.com/cgi-bin/mb.pl?
     41PEP = http://www.python.org/peps/pep-$1.html Python Enhancement Proposal $1
     42tsvn = tsvn: Interact with TortoiseSvn
     43}}}
    3644
    3745== Examples ==