Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
- Timestamp:
-
Aug 10, 2008, 8:15:55 PM (15 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v1
|
v2
|
|
| 37 | 37 | == Examples == |
| 38 | 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 | | }}} |
| 46 | | |
| 47 | 39 | It is necessary to setup a configuration for the InterTrac facility. |
| 48 | 40 | This configuration has to be done in the TracIni file, `[intertrac]` section. |
| … |
… |
|
| 57 | 49 | # -- Link to an external Trac: |
| 58 | 50 | trac.title = Edgewall's Trac for Trac |
| 59 | | trac.url = http://projects.edgewall.com/trac |
| 60 | | trac.compat = false |
| | 51 | trac.url = http://trac.edgewall.org |
| 61 | 52 | }}} |
| 62 | 53 | |
| … |
… |
|
| 69 | 60 | |
| 70 | 61 | Finally, the `.compat` option can be used to activate or disable |
| 71 | | a ''compatbility'' mode: |
| | 62 | a ''compatibility'' mode: |
| 72 | 63 | * If the targeted Trac is running a version below milestone:0.10 |
| 73 | 64 | (r3526 to be precise), then it doesn't know how to dispatch an InterTrac |
| … |
… |
|
| 76 | 67 | This is called the compatibility mode, and is `true` by default. |
| 77 | 68 | * If you know that the remote Trac knows how to dispatch InterTrac links, |
| 78 | | you can explicitely disable this compatibility mode and then ''any'' |
| | 69 | you can explicitly disable this compatibility mode and then ''any'' |
| 79 | 70 | TracLinks can become an InterTrac link. |
| 80 | 71 | |
| … |
… |
|
| 94 | 85 | * `trac:log:@3300:3330` trac:log:@3300:3330 |
| 95 | 86 | * `[trac 3300:3330]` [trac 3300:3330] |
| | 87 | * 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'') |
| 96 | 88 | |
| 97 | 89 | The generic form `intertrac_prefix:module:id` is translated |
| … |
… |
|
| 102 | 94 | |
| 103 | 95 | ---- |
| 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 | | ---- |
| 109 | 96 | See also: TracLinks, InterWiki |
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!