| 1 | = InterTrac Extension for TracLinks = |
| 2 | |
| 3 | ''Warning: this is only a feature proposal'' |
| 4 | |
| 5 | An InterTrac link is useful for referring from within a Trac environment |
| 6 | to a Trac object (Wiki page, changeset, ticket, ...) located in another |
| 7 | Trac environment, with a syntax as simple as possible. |
| 8 | |
| 9 | It is base on the usage of 1-letter prefix associated to |
| 10 | a Trac environment. |
| 11 | |
| 12 | Assuming the {{{T}}} letter has been set up to refer to the |
| 13 | Edgewall's Trac environment, one could refer to this page |
| 14 | as {{{wiki:T:InterTrac}}}. |
| 15 | |
| 16 | TracLinks shortcuts are also adapted: #T234 refers to #234 |
| 17 | on this Trac site. [T1490] refers to the changeset 1490 on |
| 18 | this Trac site, etc. |
| 19 | |
| 20 | The association between letters and Trac environments |
| 21 | is done quite simply in an {{{[intertrac]}}} section |
| 22 | within the {{{trac.ini}}} file. |
| 23 | Currently this has to be repeated for each Trac environment, |
| 24 | but there's work in progress concerning a |
| 25 | [ticket:1051 centralized trac.ini], which |
| 26 | would help greatly here. |
| 27 | |
| 28 | |
| 29 | This idea was first proposed as a patch for #234, and |
| 30 | should be shortly proposed for inclusion in the |
| 31 | following branch: |
| 32 | source:branches/cboos-dev/intertrac-branch |
| 33 | (i.e. source:T:branches/cboos-dev/intertrac-branch) |
| 34 | |