|
|
# [InterTrac](inter-trac) Links
|
|
|
|
|
|
|
|
|
|
|
|
Trac supports a convenient way to refer to resources of other Trac servers, from within the Wiki markup. An InterTrac link can be seen as a scoped [TracLinks](trac-links). It is used for referring to a Trac resource located in another Trac environment. A resource can be a wiki page, changeset, ticket or milestone.
|
|
|
|
|
|
|
|
|
## List of Active [InterTrac](inter-trac) Prefixes
|
|
|
|
|
|
<table><tr><th>*Prefix*</th>
|
|
|
<th>*Trac Site*</th></tr>
|
|
|
<tr><th>[prime](https://prime.haskell.org/timeline)</th>
|
|
|
<th>[Haskell Prime Trac](https://prime.haskell.org)</th></tr>
|
|
|
<tr><th>[trac](http://trac.edgewall.org/timeline)</th>
|
|
|
<th>[The Trac Project](http://trac.edgewall.org)</th></tr></table>
|
|
|
|
|
|
|
|
|
<table><tr><th><i>Prefix</i></th>
|
|
|
<th><i>Trac Site</i></th></tr>
|
|
|
<tr><th><a href="https://prime.haskell.org/timeline">prime</a></th>
|
|
|
<th><a href="https://prime.haskell.org">Haskell Prime Trac</a></th></tr>
|
|
|
<tr><th><a href="http://trac.edgewall.org/timeline">trac</a></th>
|
|
|
<th><a href="http://trac.edgewall.org">The Trac Project</a></th></tr></table>
|
|
|
|
|
|
|
|
|
|
|
|
## Link Syntax
|
|
|
|
... | ... | @@ -41,8 +47,15 @@ For convenience, there is also an alternative short-hand form, where an alias ca |
|
|
It is necessary to set up a configuration for the [InterTrac](inter-trac) facility.
|
|
|
This configuration has to be done in the [TracIni](trac-ini) file, `[intertrac]` section, for example:
|
|
|
|
|
|
|
|
|
```
|
|
|
[intertrac]# -- Example of setting up an alias:t=trac# -- Link to an external Trac:trac.title=Edgewall's Trac for Tractrac.url=http://trac.edgewall.org
|
|
|
[intertrac]
|
|
|
# -- Example of setting up an alias:
|
|
|
t = trac
|
|
|
|
|
|
# -- Link to an external Trac:
|
|
|
trac.title = Edgewall's Trac for Trac
|
|
|
trac.url = http://trac.edgewall.org
|
|
|
```
|
|
|
|
|
|
|
... | ... | @@ -53,8 +66,10 @@ This can be a relative URL in case that Trac environment is located on the same |
|
|
The `.title` information is used in a tooltip, ie when hovering the cursor over an [InterTrac](inter-trac) link.
|
|
|
|
|
|
|
|
|
|
|
|
Now, given the above configuration, one could create the following links:
|
|
|
|
|
|
|
|
|
- to this [InterTrac](inter-trac) page:
|
|
|
|
|
|
- `trac:wiki:InterTrac` [ trac:wiki:InterTrac](http://trac.edgewall.org/intertrac/wiki%3AInterTrac)
|
... | ... | @@ -82,4 +97,7 @@ The generic form `intertrac_prefix:module:id` is translated to the corresponding |
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
See also: [TracLinks](trac-links), [InterWiki](inter-wiki)
|
|
|
|
|
|
|