https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292008-01-12T11:21:00ZRedmineRedmine - Feature #543: Wiki links to versions, documents, fileshttps://www.redmine.org/issues/543?journal_id=11042008-01-12T11:21:00ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Here are some suggestions for the syntax:</p>
<p>document#12 (by id) or document:"My document" <br />(by title)<br /><a class="version" href="https://www.redmine.org/versions/5">0.7.3</a> or version:"0.6.3" <br />file#47</p>
<p>What do you think ?</p> Redmine - Feature #543: Wiki links to versions, documents, fileshttps://www.redmine.org/issues/543?journal_id=11032008-01-12T12:33:00ZAdrian Tarau
<ul></ul><p>Looks ok to me.</p>
<p>I think the layout with keyword#no is better and it will be<br />similar with what exists now.</p>
<p>Any opinions?</p> Redmine - Feature #543: Wiki links to versions, documents, fileshttps://www.redmine.org/issues/543?journal_id=11022008-01-13T04:50:00ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>I think Redmine could support both syntaxes (with ids or with<br />names).</p> Redmine - Feature #543: Wiki links to versions, documents, fileshttps://www.redmine.org/issues/543?journal_id=11012008-01-13T15:43:00ZThomas Löber
<ul></ul><p>It would be nice if a plugin can add extra wiki syntax like:</p>
<p>Redmine::Plugin.register :my_plugin do<br /> wiki /some_regexp/ do
# create HTML chunk replacing regexp <br /> end<br />end</p> Redmine - Feature #543: Wiki links to versions, documents, fileshttps://www.redmine.org/issues/543?journal_id=11002008-01-14T14:37:00ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Here are some examples that work on my working copy.<br />Feedback is welcome before I commit.</p>
<pre><code>Documents:<br /> document#17 -> Link to document with id 17<br /> document:Greetings -> Link to the document with title<br />"Greetings" <br /> document:"Some document" -> Link to the<br />document with title "Some document" <br /> Versions:<br /> version#3 -> Link to version with id 3<br /> version:1.0.0 -> Link to version named<br />"1.0.0" <br /> version:"1.0 beta 2" -> Link to version<br />named "1.0 beta 2" <br /> Attachments:<br /> attachment:file.zip -> Link to the attachment of<br />the current object named file.zip</code></pre>
<p>Basically, # is used to reference objects with their ids, : is<br />used to reference objects with their names.</p>
<p>For now, attachments of the current object can be referenced<br />only (if you're on an issue, you can only reference attachments<br />of this issue).<br />This kind of syntax should be supported in the future:<br />document#1:attachment:file.zip</p> Redmine - Feature #543: Wiki links to versions, documents, fileshttps://www.redmine.org/issues/543?journal_id=10992008-01-14T14:42:00ZAdrian Tarau
<ul></ul><p>+1 JP.</p>
<p>Thanks.</p> Redmine - Feature #543: Wiki links to versions, documents, fileshttps://www.redmine.org/issues/543?journal_id=10982008-01-15T12:12:00ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Committed in <a class="changeset" title="Redmine links can be used to link to documents, versions and attachments. For now, attachments of..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/1064">r1064</a>.</p> Redmine - Feature #543: Wiki links to versions, documents, fileshttps://www.redmine.org/issues/543?journal_id=268322011-03-23T09:32:31ZToshi MARUYAMA
<ul><li><strong>Category</strong> set to <i>Text formatting</i></li></ul> Redmine - Feature #543: Wiki links to versions, documents, fileshttps://www.redmine.org/issues/543?journal_id=381502012-05-14T12:40:40ZStanislav German-Evtushenko
<ul></ul><p>duplicates <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Wiki syntax to link to files in the files-module (New)" href="https://www.redmine.org/issues/2069">#2069</a></p> Redmine - Feature #543: Wiki links to versions, documents, fileshttps://www.redmine.org/issues/543?journal_id=432122012-12-04T20:11:25ZAndriy Lesyuk
<ul></ul><p>Hi! I added <code>file:</code> support to my <a href="http://projects.andriylesyuk.com/projects/wiking" class="external">WikiNG</a> plugin.</p> Redmine - Feature #543: Wiki links to versions, documents, fileshttps://www.redmine.org/issues/543?journal_id=467212013-03-17T04:20:21ZMischa The Evil
<ul><li><strong>Subject</strong> changed from <i>Wiki links to roadmap, documents, files</i> to <i>Wiki links to versions, documents, files</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Adrian Tarau wrote:</p>
<blockquote>
<p>It would be very useful to be able to insert links to roadmap(versions), documents and files.</p>
</blockquote>
<p>Support for linking to versions and documents is implemented already a long time ago. Only linking to files is still missing, but there exists a seperate issue for it (<a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Wiki syntax to link to files in the files-module (New)" href="https://www.redmine.org/issues/2069">#2069</a>).<br />Based on the info above; closing this issue as fixed.</p>