Project

General

Profile

Actions

Feature #543

closed

Wiki links to versions, documents, files

Added by Adrian Tarau almost 17 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

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

Related to Redmine - Feature #2069: Wiki syntax to link to files in the files-moduleNew2008-10-22

Actions
Actions #1

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 ?

Actions #2

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?

Actions #3

Updated by Jean-Philippe Lang almost 17 years ago

I think Redmine could support both syntaxes (with ids or with
names).

Actions #4

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

Actions #5

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

Actions #6

Updated by Adrian Tarau almost 17 years ago

+1 JP.

Thanks.

Actions #7

Updated by Jean-Philippe Lang almost 17 years ago

Committed in r1064.

Actions #8

Updated by Toshi MARUYAMA over 13 years ago

  • Category set to Text formatting
Actions #9

Updated by Stanislav German-Evtushenko over 12 years ago

duplicates #2069

Actions #10

Updated by Andriy Lesyuk almost 12 years ago

Hi! I added file: support to my WikiNG plugin.

Actions #11

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.

Actions

Also available in: Atom PDF