Actions
Patch #5948
closedUpdate help/wiki_syntax_detailed.html with more link options
Added by Holger Just over 14 years ago. Updated about 14 years ago.
Start date:
2010-07-23
Due date:
% Done:
100%
Estimated time:
Description
This patch adds documentation of links to forum posts to the file help/wiki_syntax_detailed.html
. It also normalizes some of the formatting.
A considering comitter should also normalize the whole file to \n
line endings.
Files
wiki_syntax_detailed.diff (3.43 KB) wiki_syntax_detailed.diff | Holger Just, 2010-07-23 14:34 | ||
update_wiki_syntax_detailed-r4249.diff (3.98 KB) update_wiki_syntax_detailed-r4249.diff | Patch against trunk at r4249 | Mischa The Evil, 2010-10-18 08:12 |
Related issues
Updated by Mischa The Evil about 14 years ago
Updated the patch against current trunk and included new languages supported by Coderay 0.9.2 (latest included version).
For reviewers:
Index: public/help/wiki_syntax_detailed.html
===================================================================
--- public/help/wiki_syntax_detailed.html (revision 4249)
+++ public/help/wiki_syntax_detailed.html (working copy)
@@ -66,7 +66,7 @@
<p>Wiki links are displayed in red if the page doesn't exist yet, eg: <a href="#" class="wiki-page new">Nonexistent page</a>.</p>
- <p>Links to others resources (0.7):</p>
+ <p>Links to other resources:</p>
<ul>
<li>Documents:
@@ -74,6 +74,7 @@
<li><strong>document#17</strong> (link to document with id 17)</li>
<li><strong>document:Greetings</strong> (link to the document with title "Greetings")</li>
<li><strong>document:"Some document"</strong> (double quotes can be used when document title contains spaces)</li>
+ <li><strong>document:some_project:"Some document"</strong> (link to a document with title "Some document" in other project "some_project")
</ul></li>
</ul>
@@ -95,19 +96,36 @@
</ul>
<ul>
- <li>Repository files
+ <li>Repository files:
<ul>
- <li><strong>source:some/file</strong> -- Link to the file located at /some/file in the project's repository</li>
- <li><strong>source:some/file@52</strong> -- Link to the file's revision 52</li>
- <li><strong>source:some/file#L120</strong> -- Link to line 120 of the file</li>
- <li><strong>source:some/file@52#L120</strong> -- Link to line 120 of the file's revision 52</li>
- <li><strong>export:some/file</strong> -- Force the download of the file</li>
- </ul></li>
+ <li><strong>source:some/file</strong> (link to the file located at /some/file in the project's repository)</li>
+ <li><strong>source:some/file@52</strong> (link to the file's revision 52)</li>
+ <li><strong>source:some/file#L120</strong> (link to line 120 of the file)</li>
+ <li><strong>source:some/file@52#L120</strong> (link to line 120 of the file's revision 52)</li>
+ <li><strong>source:"some file@52#L120"</strong> (use double quotes when the URL contains spaces</li>
+ <li><strong>export:some/file</strong> (force the download of the file)</li>
+ </ul></li>
</ul>
-
- <p>Escaping (0.7):</p>
<ul>
+ <li>Forum messages:
+ <ul>
+ <li><strong>message#1218</strong> (link to message with id 1218)</li>
+ </ul></li>
+ </ul>
+
+ <ul>
+ <li>Projects:
+ <ul>
+ <li><strong>project#3</strong> (link to project with id 3)</li>
+ <li><strong>project:someproject</strong> (link to project named "someproject")</li>
+ </ul></li>
+ </ul>
+
+
+ <p>Escaping:</p>
+
+ <ul>
<li>You can prevent Redmine links from being parsed by preceding them with an exclamation mark: !</li>
</ul>
@@ -219,7 +237,7 @@
<h2><a name="13" class="wiki-page"></a>Code highlighting</h2>
- <p>Code highlightment relies on <a href="http://coderay.rubychan.de/" class="external">CodeRay</a>, a fast syntax highlighting library written completely in Ruby. It currently supports c, html, javascript, rhtml, ruby, scheme, xml languages.</p>
+ <p>Code highlightment relies on <a href="http://coderay.rubychan.de/" class="external">CodeRay</a>, a fast syntax highlighting library written completely in Ruby. It currently supports c, cpp, css, delphi, groovy, html, java, javascript, json, php, python, rhtml, ruby, scheme, sql, xml and yaml languages.</p>
<p>You can highlight code in your wiki page using this syntax:</p>
Updated by Mischa The Evil about 14 years ago
- Assignee changed from Muntek Singh to Eric Davis
- Target version set to 1.0.3
Updated by Jean-Baptiste Barth about 14 years ago
- Status changed from New to Resolved
- Assignee set to Jean-Baptiste Barth
- % Done changed from 0 to 100
Applied in r4308, thanks!
Updated by Eric Davis about 14 years ago
- Status changed from Resolved to Closed
Merged into 1.0-stable for release in 1.0.3
Actions