Project

General

Profile

Actions

Feature #2069

open

Wiki syntax to link to files in the files-module

Feature #2069: Wiki syntax to link to files in the files-module

Added by Chad Metcalf about 18 years ago. Updated about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
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.


Files

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

Related issues 3 (1 open — 2 closed)

Related to Redmine - Feature #543: Wiki links to versions, documents, filesClosedActions
Related to Redmine - Patch #2195: wiki marco to link to filesNewActions
Related to Redmine - Feature #867: Want more wiki link typesClosedActions

Updated by Mischa The Evil about 18 years ago Actions #1

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.

Updated by aruna sarikonda about 18 years ago Actions #2

  • % Done changed from 0 to 50

Updated by aruna sarikonda about 18 years ago Actions #3

  • % Done changed from 50 to 0

Updated by Yuval Hager over 17 years ago Actions #4

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

Updated by Jose Luna over 16 years ago Actions #5

+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.

Updated by Tkachenko Sergey over 16 years ago Actions #6

+1 we need it

Updated by Lars Erik Gullerud over 16 years ago Actions #7

+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.

Updated by Yaroslav Matsera almost 16 years ago Actions #8

+1 I need it too

Updated by Terence Mill almost 16 years ago Actions #9

+1

Updated by Ladislav Nesnera over 15 years ago Actions #10

+1

Updated by Anonymous over 15 years ago Actions #11

+1

Updated by Frank Schwarz about 15 years ago Actions #12

+1

Updated by Etienne Massip about 15 years ago Actions #13

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

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

duplicates #543

Updated by Andriy Lesyuk almost 14 years ago Actions #16

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

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

  • Target version set to Unplanned backlogs

Updated by Shouka Baku over 13 years ago Actions #18

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.

Updated by Stanislav German-Evtushenko over 13 years ago Actions #19

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.

Updated by Evgeniy Dushistov over 11 years ago Actions #20

+1

Updated by Anonymous about 10 years ago Actions #21

+1

Updated by Toshi MARUYAMA about 10 years ago Actions #22

  • Category changed from Wiki to Text formatting

Updated by Christopher Breen almost 10 years ago Actions #23

+1

Updated by Ezequiel Nicolazzi almost 10 years ago Actions #24

+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?

Updated by Mischa The Evil about 9 years ago Actions #25

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.
Actions

Also available in: PDF Atom