RedmineTextFormattingRedmineLinks » History » Version 1

Hiroo Hayashi, 2016-07-23 06:07
Moved from [[RedmineTextFormattingTextile]] to share with [[RedmineTextFormattingMarkdown]]

1 1 Hiroo Hayashi
Redmine allows hyperlinking between resources (wiki pages, issues, documents...) from anywhere text formatting is used.
2 1 Hiroo Hayashi
3 1 Hiroo Hayashi
Wiki links:
4 1 Hiroo Hayashi
5 1 Hiroo Hayashi
* *[[Guide]]* displays a link to the page named 'Guide': [[Guide]]
6 1 Hiroo Hayashi
* *[[Guide#further-reading]]* takes you to the anchor "further-reading". Headings get automatically assigned anchors so that you can refer to them: [[Guide#further-reading]]
7 1 Hiroo Hayashi
* *[[Guide|User manual]]* displays a link to the same page but with different text: [[Guide|User manual]]
8 1 Hiroo Hayashi
* *[[Guide#User-guide|User guide]]* displays a link to the header on the same page with different text: [[Guide#User-guide|User guide]]
9 1 Hiroo Hayashi
10 1 Hiroo Hayashi
You can also link to pages of another project's wiki (using the project identifier):
11 1 Hiroo Hayashi
12 1 Hiroo Hayashi
* *[[sandbox:some page]]* displays a link to the page named 'Some page' of the Sandbox wiki
13 1 Hiroo Hayashi
* *[[sandbox:]]* displays a link to the Sandbox wiki main page
14 1 Hiroo Hayashi
15 1 Hiroo Hayashi
Wiki links are displayed in red if the page doesn't exist yet, eg: [[Nonexistent page]].
16 1 Hiroo Hayashi
17 1 Hiroo Hayashi
Links to other resources:
18 1 Hiroo Hayashi
19 1 Hiroo Hayashi
* Issues:
20 1 Hiroo Hayashi
21 1 Hiroo Hayashi
  * *!#124* (link to an issue: displays #124, link is striked-through if the issue is closed)
22 1 Hiroo Hayashi
  * *!#124-6*, or *!#124#note-6* (link to an issue note: displays #124-6, or #124#note-6)
23 1 Hiroo Hayashi
24 1 Hiroo Hayashi
* Documents:
25 1 Hiroo Hayashi
26 1 Hiroo Hayashi
  * *!document#17* (link to document with id 17)
27 1 Hiroo Hayashi
  * *!document:Greetings* (link to the document with title "Greetings")
28 1 Hiroo Hayashi
  * *!document:"Some document"* (double quotes can be used when document title contains spaces)
29 1 Hiroo Hayashi
  * *!sandbox:document:"Some document"* (link to a document with title "Some document" in project identifier "sandbox")
30 1 Hiroo Hayashi
31 1 Hiroo Hayashi
* Versions:
32 1 Hiroo Hayashi
33 1 Hiroo Hayashi
  * *!version#3* (link to version with id 3)
34 1 Hiroo Hayashi
  * *!version:1.0.0* (link to version named "1.0.0")
35 1 Hiroo Hayashi
  * *!version:"1.0 beta 2"* (double quotes can be used when version name contains spaces)
36 1 Hiroo Hayashi
  * *!sandbox:version:1.0.0* (link to version "1.0.0" in the project identifier "sandbox")
37 1 Hiroo Hayashi
38 1 Hiroo Hayashi
* Attachments:
39 1 Hiroo Hayashi
  
40 1 Hiroo Hayashi
  * *!attachment:file.zip* (link to the attachment of the current object named file.zip)
41 1 Hiroo Hayashi
  * *!attachment:"file name.zip"* (double quotes can be used when the filename contains non word characters)
42 1 Hiroo Hayashi
  * For now, attachments of the current object can be referenced only (if you're on an issue, it's possible to reference attachments of this issue only)
43 1 Hiroo Hayashi
44 1 Hiroo Hayashi
* Changesets:
45 1 Hiroo Hayashi
46 1 Hiroo Hayashi
  * *!r758* (link to a changeset, displays r758)
47 1 Hiroo Hayashi
  * *!commit:c6f4d0fd* (link to a changeset with a non-numeric hash)
48 1 Hiroo Hayashi
  * *!svn1|r758* (link to a changeset of a specific repository, for projects with multiple repositories)
49 1 Hiroo Hayashi
  * *!commit:hg|c6f4d0fd* (link to a changeset with a non-numeric hash of a specific repository)
50 1 Hiroo Hayashi
  * *!sandbox:r758* (link to a changeset of another project)
51 1 Hiroo Hayashi
  * *!sandbox:commit:c6f4d0fd* (link to a changeset with a non-numeric hash of another project identifier)
52 1 Hiroo Hayashi
53 1 Hiroo Hayashi
* Repository files:
54 1 Hiroo Hayashi
55 1 Hiroo Hayashi
  * *!source:some/file* (link to the file located at /some/file in the project's repository)
56 1 Hiroo Hayashi
  * *!source:"some file"* (link to the file with non word characters in the path)
57 1 Hiroo Hayashi
  * *!source:some/file@52* (link to the file's revision 52)
58 1 Hiroo Hayashi
  * *!source:some/file#L120* (link to line 120 of the file)
59 1 Hiroo Hayashi
  * *!source:some/file@52#L120* (link to line 120 of the file's revision 52)
60 1 Hiroo Hayashi
  * *!source:repo_identifier|some/file* (link to a file of a specific repository, for projects with multiple repositories)
61 1 Hiroo Hayashi
  * *!sandbox:source:some/file* (link to the file in the project identifier "sandbox")
62 1 Hiroo Hayashi
  * *!export:some/file* (force the download of the file)
63 1 Hiroo Hayashi
 
64 1 Hiroo Hayashi
* Forums:
65 1 Hiroo Hayashi
66 1 Hiroo Hayashi
  * *!forum#2* (link to forum with id 2)
67 1 Hiroo Hayashi
  * *!forum:Discussion* (link to forum with name "Discussion")
68 1 Hiroo Hayashi
  * *!forum:"Help and more"* (double quotes can be used when forum name contains spaces)
69 1 Hiroo Hayashi
70 1 Hiroo Hayashi
* Forum messages:
71 1 Hiroo Hayashi
72 1 Hiroo Hayashi
  * *!message#1218* (link to message with id 1218)
73 1 Hiroo Hayashi
74 1 Hiroo Hayashi
* News items
75 1 Hiroo Hayashi
76 1 Hiroo Hayashi
  * *!news#1* (link to news item with id 1)
77 1 Hiroo Hayashi
  * *!news:Greetings* (link to news item with name "Greetings")
78 1 Hiroo Hayashi
  * *!news:"eCookbook first release !"* (double quotes can be used when news item name contains spaces)
79 1 Hiroo Hayashi
80 1 Hiroo Hayashi
* Projects:
81 1 Hiroo Hayashi
82 1 Hiroo Hayashi
  * *!project#3* (link to project with id 3)
83 1 Hiroo Hayashi
  * *!project:someproject* (link to project with name "someproject")
84 1 Hiroo Hayashi
  * *!project:"Multiple words project"* (double quotes can be used when project name contains spaces)
85 1 Hiroo Hayashi
86 1 Hiroo Hayashi
Escaping:
87 1 Hiroo Hayashi
88 1 Hiroo Hayashi
* You can prevent Redmine links from being parsed by preceding them with an exclamation mark: !