Changes between Version 4 and Version 5 of 0.12/TracLinks
- Timestamp:
- Apr 5, 2010, 10:24:27 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
0.12/TracLinks
v4 v5 63 63 {{{#!td 64 64 {{{ 65 [ticket:1 This is a link to ticket number one]. 66 }}} 67 }}} 68 {{{#!td 69 [ticket:1 This is a link to ticket number one]. 65 [ticket:1 This is a link to ticket number one] or 66 [[ticket:1|This is another link to ticket number one]]. 67 }}} 68 }}} 69 {{{#!td 70 [ticket:1 This is a link to ticket number one] or 71 [[ticket:1|This is another link to ticket number one]]. 70 72 }}} 71 73 |-------------------------------------------------------------------------------------- … … 73 75 {{{#!td 74 76 {{{ 75 [ticket:1] 76 }}} 77 }}} 78 {{{#!td 79 [ticket:1] 77 [ticket:1] or [[ticket:2]] 78 }}} 79 }}} 80 {{{#!td 81 [ticket:1] or [[ticket:2]] 80 82 }}} 81 83 |-------------------------------------------------------------------------------------- … … 83 85 {{{#!td 84 86 {{{ 85 [SandBox the sandbox] 86 }}} 87 }}} 88 {{{#!td 89 [SandBox the sandbox] 87 [SandBox the sandbox] or 88 [[SandBox|the sandbox]] 89 }}} 90 }}} 91 {{{#!td 92 [SandBox the sandbox] or 93 [[SandBox|the sandbox]] 90 94 }}} 91 95 |-------------------------------------------------------------------------------------- … … 110 114 To create a link to a specific anchor in a page, use '#': 111 115 {{{ 112 [#Relativelinks relative links] 116 [#Relativelinks relative links] or [[#Relativelinks|relative links]] 113 117 }}} 114 118 Displays: 115 [#Relativelinks relative links] 119 [#Relativelinks relative links] or [[#Relativelinks|relative links]] FIXME 116 120 117 121 Hint: when you move your mouse over the title of a section, a '¶' character will be displayed. This is a link to that specific section and you can use this to copy the `#...` part inside a relative link to an anchor. … … 124 128 To link from a [trac:SubWiki SubWiki] page to a parent, simply use a '..': 125 129 {{{ 126 [..] 127 }}} 130 [..] or [[..]] 131 }}} 132 [..] or [[..]] 128 133 129 134 To link from a [trac:SubWiki SubWiki] page to a sibling page, use a '../': 130 135 {{{ 131 [../Sibling see next sibling] 132 }}} 136 [../Sibling see next sibling] or [[../Sibling|see next sibling]] 137 }}} 138 [../Sibling see next sibling] or [[../Sibling|see next sibling]] FIXME 133 139 134 140 ''(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 now in 0.11 it will stay in the wiki namespace and link to a sibling page. See [#Server-relativelinks] for the new syntax. … … 157 163 158 164 {{{ 159 [/newticket Create a new ticket] 160 [/ home] 161 }}} 162 163 Display: [/newticket Create a new ticket] [/ home] 165 [/newticket Create a new ticket] or [[//newticket|Create a new ticket]] 166 [/ home] or [[/|home]] 167 }}} 168 169 Display: [/newticket Create a new ticket] or [[//newticket|Create a new ticket]] FIXME 170 [/ home] or [[/|home]] FIXME 164 171 165 172 To link to another location on the server (outside the project), use the '//location' link syntax (''Changed in 0.11''): 166 173 167 174 {{{ 168 [//register Register Here] 169 }}} 170 171 Display: [//register Register Here] 175 [//register Register Here] or [[//register|Register Here]] 176 }}} 177 178 Display: [//register Register Here] or [[//register|Register Here]] FIXME 172 179 173 180 === Quoting space in TracLinks === … … 180 187 * !attachment:"the file.txt" 181 188 * !attachment:"the file.txt:ticket:123" 189 190 Note that by using [trac:WikiCreole] style links, it's quite natural to write links containing spaces: 191 * ![[The whitespace convention]] 192 * ![[attachment:the file.txt]] 182 193 183 194 === Escaping Links ===