Feature #543
closedWiki links to versions, documents, files
0%
Description
It would be very useful to be able to insert links to roadmap(versions), documents and files. The syntax should be very
simple, similar with issue links or changeset links.
Thanks.
Related issues
Updated by Jean-Philippe Lang almost 17 years ago
Here are some suggestions for the syntax:
document#12 (by id) or document:"My document"
(by title)
0.7.3 or version:"0.6.3"
file#47
What do you think ?
Updated by Adrian Tarau almost 17 years ago
Looks ok to me.
I think the layout with keyword#no is better and it will be
similar with what exists now.
Any opinions?
Updated by Jean-Philippe Lang almost 17 years ago
I think Redmine could support both syntaxes (with ids or with
names).
Updated by Thomas Löber almost 17 years ago
It would be nice if a plugin can add extra wiki syntax like:
Redmine::Plugin.register :my_plugin do
wiki /some_regexp/ do
# create HTML chunk replacing regexp
end
end
Updated by Jean-Philippe Lang almost 17 years ago
Here are some examples that work on my working copy.
Feedback is welcome before I commit.
Documents:
document#17 -> Link to document with id 17
document:Greetings -> Link to the document with title
"Greetings"
document:"Some document" -> Link to the
document with title "Some document"
Versions:
version#3 -> Link to version with id 3
version:1.0.0 -> Link to version named
"1.0.0"
version:"1.0 beta 2" -> Link to version
named "1.0 beta 2"
Attachments:
attachment:file.zip -> Link to the attachment of
the current object named file.zip
Basically, # is used to reference objects with their ids, : is
used to reference objects with their names.
For now, attachments of the current object can be referenced
only (if you're on an issue, you can only reference attachments
of this issue).
This kind of syntax should be supported in the future:
document#1:attachment:file.zip
Updated by Andriy Lesyuk almost 12 years ago
Hi! I added file:
support to my WikiNG plugin.
Updated by Mischa The Evil over 11 years ago
- Subject changed from Wiki links to roadmap, documents, files to Wiki links to versions, documents, files
- Status changed from New to Closed
- Resolution set to Fixed
Adrian Tarau wrote:
It would be very useful to be able to insert links to roadmap(versions), documents and files.
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 (#2069).
Based on the info above; closing this issue as fixed.