Feature #2069

Wiki syntax to link to files in the files-module

Added by Chad Metcalf almost 9 years ago. Updated about 1 month ago.

Status:NewStart date:2008-10-22
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Text formatting
Target version:Unplanned
Resolution:

Description

We'd like to use the wiki page the version creates to talk about what is in the version and then link to the files there so people don't have to then go to the files tab.

files:fileName for example.

rm2069.patch Magnifier (2.97 KB) Mischa The Evil, 2017-09-17 02:07


Related issues

Related to Redmine - Feature #543: Wiki links to versions, documents, files Closed
Related to Redmine - Patch #2195: wiki marco to link to files New 2008-11-15
Related to Redmine - Feature #867: Want more wiki link types Closed 2008-03-15

History

#1 Updated by Mischa The Evil almost 9 years ago

Additional:
this FR exists due to the known limitation of the syntaxis attachment link-handler that only can be used to reference attachments of the current object as documented in the detailed syntax description.

#2 Updated by aruna sarikonda almost 9 years ago

  • % Done changed from 0 to 50

#3 Updated by aruna sarikonda almost 9 years ago

  • % Done changed from 50 to 0

#4 Updated by Yuval Hager over 8 years ago

bumping. I find it rather limiting that files cannot be attached from other areas.

#5 Updated by Jose Luna over 7 years ago

+1, We would also find this very useful. I think it would need to be done by filename instead of id, but it seems pretty simple to implement.

#6 Updated by Tkachenko Sergey over 7 years ago

+1 we need it

#7 Updated by Lars Erik Gullerud about 7 years ago

+1. We currently need to paste full URLs to the object to get this functionality, but it would reduce maintenance quite a bit if one could link directly to objects in the files module.

#8 Updated by Yaroslav Matsera almost 7 years ago

+1 I need it too

#9 Updated by Terence Mill almost 7 years ago

+1

#10 Updated by Ladislav Nesnera over 6 years ago

+1

#11 Updated by Viliam Pucik about 6 years ago

+1

#12 Updated by Frank Schwarz about 6 years ago

+1

#13 Updated by Etienne Massip about 6 years ago

Lars Erik Gullerud wrote:

+1. We currently need to paste full URLs to the object to get this functionality.

You can use some mixed syntax like :

"Download patch":/attachments/download/18

Result : Download patch

#15 Updated by Stanislav German-Evtushenko over 5 years ago

duplicates #543

#16 Updated by Andriy Lesyuk almost 5 years ago

WikiNG now supports file#<id> and file:<name>. See: http://projects.andriylesyuk.com/projects/wiking

#17 Updated by Mischa The Evil over 4 years ago

  • Target version set to Unplanned

#18 Updated by Shouka Baku over 4 years ago

Is it possible to download file from remote file server?

I tried to make a wiki links like this on version 2.2.3 but it doesn't work.
"Link text":file://127.0.0.1/Shared/file.txt
"Link text":file://///127.0.0.1/Shared/file.txt

Anyone please help.

#19 Updated by Stanislav German-Evtushenko over 4 years ago

Shouka Baku wrote:

Is it possible to download file from remote file server?

I tried to make a wiki links like this on version 2.2.3 but it doesn't work.
"Link text":file://127.0.0.1/Shared/file.txt
"Link text":file://///127.0.0.1/Shared/file.txt

Anyone please help.

"file://somehost/dir/file" is "Windows + Internet Explorer" related stuff and not general.

#20 Updated by Evgeniy Dushistov over 2 years ago

+1

#21 Updated by JW Fuchs about 1 year ago

+1

#22 Updated by Toshi MARUYAMA about 1 year ago

  • Category changed from Wiki to Text formatting

#23 Updated by Christopher Breen 9 months ago

+1

#24 Updated by Ezequiel Nicolazzi 8 months ago

+1
It's been 8 years since this issue was first referenced. I am not a ruby programmer, but is this THAT difficult to perform?

#25 Updated by Mischa The Evil about 1 month ago

Here's a (preliminary, not-well tested) patch (taken from SVN), which I extracted from Andriy Lesyuk's WikiNG plugin, implementing this feature for the current trunk at r16970. It is not complete yet, though. Todo:
  • add tests;
  • test filenames with spaces surrounded by quotes;
  • test interproject file links.

Also available in: Atom PDF