Changes between Version 92 and Version 93 of TracLinks
- Timestamp:
- Nov 13, 2014, 5:09:22 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracLinks
v92 v93 135 135 136 136 In order to link explicitly to a [=#toplevel toplevel] Wiki page, 137 use the `wiki:/` prefix. 138 Be careful **not** to use the `/` prefix alone, as this corresponds to the 139 [#Server-relativelinks] syntax and with such a link you will lack the `/wiki/` 140 part in the resulting URL. 141 142 ''(Changed in 0.11)'' Note that in Trac 0.10, using e.g. `[../newticket]` may have worked for linking to the `/newticket` top-level URL, but since 0.11, such a link will stay in the wiki namespace and therefore link to a sibling page. 143 See [#Server-relativelinks] for the new syntax. 137 use the `wiki:/` prefix. Be careful **not** to use the `/` prefix alone, as this corresponds to the [#Server-relativelinks] syntax and with such a link you will lack the `/wiki/` part in the resulting URL. A link such as `[../newticket]` will stay in the wiki namespace and therefore link to a sibling page. 144 138 145 139 === Link anchors === … … 313 307 - `ticket:1,150` 314 308 315 ''(since Trac 0.11)''316 317 309 === timeline: links === 318 310 … … 327 319 - `timeline:2008-01-29T16:48+01:00` 328 320 329 ''(since Trac 0.11)''330 331 321 === wiki: links === 332 322 … … 353 343 - `source:/tag/0.10@head#L10` 354 344 355 Finally, one can also highlight an arbitrary set of lines ''(since 0.11)'':345 Finally, one can also highlight an arbitrary set of lines: 356 346 - `source:/some/file@123:10-20,100,103#L99` - highlight lines 10 to 20, and lines 100 and 103, and target line 99 357 347 - or without version number (the `@` is still needed): `source:/some/file@:10-20,100,103#L99`. Version can be omitted when the path is pointing to a source file that will no longer change (like `source:/tags/...`), otherwise it's better to specify which lines of //which version// of the file you're talking about