Changes between Version 3 and Version 4 of InterWiki
- Timestamp:
- Jan 28, 2006, 5:33:11 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InterWiki
v3 v4 1 1 = Support for InterWiki links = 2 2 3 ''This is a proposal for implementing #40 and #1414'' 4 ''It's candidate for integration in the trunk, after the 0.9 release (see #2041)'' 3 ''(since [milestone:0.10])'' 5 4 6 5 == Definition == … … 26 25 [http://www.usemod.com/cgi-bin/mb.pl?InterMapTxt MeatBall:InterMapTxt]. 27 26 28 An addition to traditional InterWiki links, where the target27 In addition to traditional InterWiki links, where the target 29 28 is simply ''appended'' to the URL, 30 29 Trac supports parametric InterWiki URLs: 31 30 identifiers `$1`, `$2`, ... in the URL 32 will be replaced by corresponding arguments from a list 33 made up from the page specification split by the ":" token. 31 will be replaced by corresponding arguments. 32 The argument list is formed by splitting the page identifier 33 using the ":" separator. 34 34 35 35 == Examples == … … 47 47 ---- 48 48 {{{ 49 PEP http://www.python.org/peps/pep-$1.html # Python Enhancement Proposal 50 TracML http://thread.gmane.org/gmane.comp.version-control.subversion.trac.general/ #Trac Mailing List49 PEP http://www.python.org/peps/pep-$1.html # Python Enhancement Proposal $1 50 TracML http://thread.gmane.org/gmane.comp.version-control.subversion.trac.general/$1 # Message $1 in Trac Mailing List 51 51 52 52 ... … … 65 65 * {{{TracML:4346}}} should be rendered as 66 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" 68 (idea: I should allow positional parameters in the comment as well) 67 and the ''title'' for that link would be "Message 4346 in Trac Mailing List"