WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of InterTrac


Ignore:
Timestamp:
04/23/13 14:19:57 (12 months ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InterTrac

    v1 v2  
    3030The prefix is case insensitive. 
    3131 
     32If the InterTrac link is enclosed in square brackets (like `[th:WikiExtrasPlugin]`), the InterTrac prefix is removed in the displayed link, like a normal link resolver would be (i.e. the above would be displayed as `WikiExtrasPlugin`). 
     33 
    3234For convenience, there's also some alternative short-hand form,  
    3335where one can use an alias as an immediate prefix  
     
    3638 
    3739== Examples == 
    38  
    39 {{{ 
    40 #!comment 
    41  Besides the other environments run by the same server process 
    42  (called ''sibling'' environments), which are automatically detected, 
    43 Support for sibling environments has been disabled. 
    44 See http://thread.gmane.org/gmane.comp.version-control.subversion.trac.devel/157 
    45 }}} 
    4640 
    4741It is necessary to setup a configuration for the InterTrac facility. 
     
    5751# -- Link to an external Trac: 
    5852trac.title = Edgewall's Trac for Trac 
    59 trac.url = http://projects.edgewall.com/trac 
    60 trac.compat = false 
     53trac.url = http://trac.edgewall.org 
    6154}}} 
    6255 
     
    6962 
    7063Finally, the `.compat` option can be used to activate or disable 
    71 a ''compatbility'' mode: 
    72  * If the targeted Trac is running a version below milestone:0.10  
    73    (r3526 to be precise), then it doesn't know how to dispatch an InterTrac  
     64a ''compatibility'' mode: 
     65 * If the targeted Trac is running a version below [trac:milestone:0.10 0.10]  
     66   ([trac:r3526 r3526] to be precise), then it doesn't know how to dispatch an InterTrac  
    7467   link, and it's up to the local Trac to prepare the correct link.  
    7568   Not all links will work that way, but the most common do.  
    7669   This is called the compatibility mode, and is `true` by default.  
    7770 * If you know that the remote Trac knows how to dispatch InterTrac links,  
    78    you can explicitely disable this compatibility mode and then ''any''  
     71   you can explicitly disable this compatibility mode and then ''any''  
    7972   TracLinks can become an InterTrac link. 
    8073 
     
    9487   * `trac:log:@3300:3330` trac:log:@3300:3330   
    9588   * `[trac 3300:3330]` [trac 3300:3330]  
     89 * finally, to link to the start page of a remote trac, simply use its prefix followed by ':', inside an explicit link. Example: `[th: Trac Hacks]` (''since 0.11; note that the ''remote'' Trac has to run 0.11 for this to work'') 
    9690 
    9791The generic form `intertrac_prefix:module:id` is translated 
     
    10296 
    10397---- 
    104 === Discussion === 
    105  
    106 I think that the `trac` prefix could even be set as a default in the `[intertrac]` TracIni section. --CB 
    107  
    108 ---- 
    10998See also: TracLinks, InterWiki