Project

General

Profile

Actions

Feature #543

closed

Wiki links to versions, documents, files

Feature #543: Wiki links to versions, documents, files

Added by Adrian Tarau almost 19 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
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 1 (1 open — 0 closed)

Related to Redmine - Feature #2069: Wiki syntax to link to files in the files-moduleNewActions

Updated by Jean-Philippe Lang almost 19 years ago Actions #1

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 19 years ago Actions #2

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 19 years ago Actions #3

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

Updated by Thomas Löber almost 19 years ago Actions #4

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 19 years ago Actions #5

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 Adrian Tarau almost 19 years ago Actions #6

+1 JP.

Thanks.

Updated by Jean-Philippe Lang almost 19 years ago Actions #7

Committed in r1064.

Updated by Toshi MARUYAMA over 15 years ago Actions #8

  • Category set to Text formatting

Updated by Stanislav German-Evtushenko over 14 years ago Actions #9

duplicates #2069

Updated by Andriy Lesyuk almost 14 years ago Actions #10

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

Updated by Mischa The Evil over 13 years ago Actions #11

  • 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: PDF Atom