Edgewall Software

Changes between Version 2 and Version 3 of InterWiki


Ignore:
Timestamp:
Sep 28, 2005, 12:15:26 PM (19 years ago)
Author:
Christian Boos
Comment:

Updated InterWiki documentation to match the current development status

Legend:

Unmodified
Added
Removed
Modified
  • InterWiki

    v2 v3  
    22
    33''This is a proposal for implementing #40 and #1414''
    4 ''I think it's now ready for testing (see r1912)''
     4''It's candidate for integration in the trunk, after the 0.9 release (see #2041)''
    55
    66== Definition ==
     
    2020followed by a column (e.g. {{{MeatBall:}}}),
    2121followed by a page specification in the target.
     22Note that, as for InterTrac prefixes, InterWiki prefixes are case insensitive.
    2223
    2324The target Wiki URL is looked up in a the InterMapTxt wiki page,
     
    2829is simply ''appended'' to the URL,
    2930Trac supports parametric InterWiki URLs:
    30 identifiers {{{$1}}}, {{{$2}}}, ... in the URL
     31identifiers `$1`, `$2`, ... in the URL
    3132will be replaced by corresponding arguments from a list
    32 made up from the page specification split by the ':' token.
     33made up from the page specification split by the ":" token.
    3334
    3435== Examples ==
     
    3738
    3839{{{
    39 = InterWiki Map =
     40= InterMapTxt =
     41== This is the place for defining InterWiki prefixes ==
    4042
    41 This is the InterMapTxt wiki page,
    42 modelled after the MeatBall:InterMapTxt page.
     43Currently active prefixes: [[InterWiki]]
     44
     45This page is modelled after the MeatBall:InterMapTxt page.
     46In addition, an optional comment is allowed after the mapping.
    4347----
    4448{{{
    45 Trac http://projects.edgewall.com/trac/$1/$2Trac # The Official Trac for Trac
    46 TracML http://lists.edgewall.com/archive/trac/2005-August/$1.html # Trac Mailing List Archive
     49PEP     http://www.python.org/peps/pep-$1.html                                       # Python Enhancement Proposal
     50TracML  http://thread.gmane.org/gmane.comp.version-control.subversion.trac.general/  # Trac Mailing List
     51
    4752...
    48 LiveJournal http://livejournal.com/users/
    49 Login http://www.usemod.com/cgi-bin/mb.pl?action=login&p_userid=
    50 MbTest http://www.usemod.com/cgi-bin/mbtest.pl?
    5153MeatBall http://www.usemod.com/cgi-bin/mb.pl?
    5254MetaWiki http://sunir.org/apps/meta.pl?
    5355MetaWikiPedia http://meta.wikipedia.org/wiki/
    54 Mineralienatlas http://www.mineralienatlas.de/lexikon/index.php/
    5556MoinMoin http://moinmoin.wikiwikiweb.de/
    5657...
     
    5960
    6061Then,
    61  * {{{MoinMoin:InterWikiMap}}} should be rendered as
     62 * `MoinMoin:InterWikiMap` should be rendered as
    6263   [http://moinmoin.wikiwikiweb.de/InterWikiMap MoinMoin:InterWikiMap]
    6364   and the ''title'' for that link would be "!InterWikiMap in !MoinMoin"
    64  * {{{Trac:wiki:InterWiki}}} should be rendered as
    65    [wiki:InterWiki Trac:wiki:InterWiki],
    66    and the ''title'' for that link would be "!InterWiki in The Official Trac for Trac"
    67  * {{{TracML:004346}}} should be rendered as
    68    [http://lists.edgewall.com/archive/trac/2005-August/004346.html TracML:004346]
    69    and the ''title'' for that link would be "004346 in Trac Mailing List Archive"
     65 * {{{TracML:4346}}} should be rendered as
     66   [http://thread.gmane.org/gmane.comp.version-control.subversion.trac.general/4346 TracML:4346]
     67   and the ''title'' for that link would be "4346 in Trac Mailing List"
    7068   (idea: I should allow positional parameters in the comment as well)
    71