Changes between Version 15 and Version 16 of InterTrac
- Timestamp:
- Jan 28, 2006, 5:26:02 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InterTrac
v15 v16 1 1 = InterTrac Extension for TracLinks = 2 2 3 ''This is a proposal for implementing #234''. 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 == Definitions == … … 34 33 Besides the other environments run by the same server process 35 34 (called ''sibling'' environments), which are automatically detected, 36 (''Note: currently only in `tracd`''),37 35 it is necessary to setup a configuration for the InterTrac facility: 38 36 * in order to refer to a remote Trac … … 58 56 59 57 Now, given this configuration, one could create the following links: 60 * to th e currentInterTrac page:58 * to this InterTrac page: 61 59 * `trac:wiki:InterTrac` -> 62 60 [http://projects.edgewall.com/trac/wiki/InterTrac trac:wiki:InterTrac] … … 69 67 [http://projects.edgewall.com/trac/ticket/234 trac:ticket:234] 70 68 * `trac:#234` -> 71 [http://projects.edgewall.com/trac/ticket/234 trac:#234] 69 [http://projects.edgewall.com/trac/ticket/234 trac:#234] ''(deprecated)'' 72 70 * `#T234` -> 73 71 [http://projects.edgewall.com/trac/search?q=#234 #T234] … … 75 73 * `trac:changeset:1912` -> 76 74 [http://projects.edgewall.com/trac/changeset/1912 trac:changeset:1912] 77 * `trac:[1912]` ->78 [http:"//projects.edgewall.com/trac/search?q=[1912]" "trac:[1912]"]79 75 * `[T1912]` -> 80 76 [http://projects.edgewall.com/trac/changeset/1912 "[T1912]"] … … 82 78 Anything not given as explicit links (intertrac_prefix:module:id) 83 79 is interpreted by the remote Trac, relying on its quickjump 84 facility. 85 86 87 88 See also: TracLinks, InterWiki 80 facility. ''(deprecated)'' 89 81 90 82 ---- 91 == Implementation Notes == 92 93 Currently, the `[intertrac]` configuration has to be repeated 94 for each Trac environment, but there's work in progress concerning a 95 [ticket:1051 centralized trac.ini], which would help greatly here. 96 97 This idea was first proposed as a patch for #234, and 98 has been implemented in the following branch: 99 source:sandbox/intertrac 100 101 The general idea is that any `[a-zA-Z.+-]+:` prefix, 102 followed by anything which is not a space, has to be interpreted as: 103 1. maybe an alias to something else; if yes, it is dereferenced 104 before going on 105 1. then, it's maybe a link prefix given by an `IWikiSyntaxProvider` component 106 1. if not, it's maybe an environment name (!InterTrac link) 107 1. if not, it's maybe an !InterWiki link 108 1. if not, it is not a link 83 See also: TracLinks, InterWiki