Patch #2195

wiki marco to link to files

Added by Anh Kỳ Huỳnh over 10 years ago. Updated over 10 years ago.

Status:NewStart date:2008-11-15
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Attachments
Target version:-

Description

I create an wiki macro so I can link to attachment file easier:

{{file(id:Title)}}
{{file(id/filename:Title)}}

I don't know how to get the filename from the file's identity. I hope the someone may help me:)

Hope this is usefull :)

marcros.rb.diff Magnifier (3.41 KB) Anh Kỳ Huỳnh, 2008-11-15 17:37


Related issues

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

History

#1 Updated by Anh Kỳ Huỳnh over 10 years ago

the file to patch is ./lib/redmine/wiki_formatting/macros.rb

Also available in: Atom PDF