Vote #64029
未完了Wiki syntax to link to files in the files-module
0%
説明
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.
journals
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":http://www.redmine.org/help/wiki_syntax_detailed.html.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
bumping. I find it rather limiting that files cannot be attached from other areas.
--------------------------------------------------------------------------------
+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.
--------------------------------------------------------------------------------
+1 we need it
--------------------------------------------------------------------------------
+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.
--------------------------------------------------------------------------------
+1 I need it too
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
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 :
<pre>"Download patch":/attachments/download/18</pre>
Result : "Download patch":/attachments/download/18
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
duplicates #543
--------------------------------------------------------------------------------
WikiNG now supports @file#<id>@ and @file:<name>@. See: http://projects.andriylesyuk.com/projects/wiking
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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.
<notextile>"Link text":file://127.0.0.1/Shared/file.txt</notextile>
<notextile>"Link text":file://///127.0.0.1/Shared/file.txt</notextile>
Anyone please help.
--------------------------------------------------------------------------------
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.
> <notextile>"Link text":file://127.0.0.1/Shared/file.txt</notextile>
> <notextile>"Link text":file://///127.0.0.1/Shared/file.txt</notextile>
>
> Anyone please help.
"file://somehost/dir/file" is "Windows + Internet Explorer" related stuff and not general.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+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?
--------------------------------------------------------------------------------
Here's a (preliminary, not-well tested) patch (taken from SVN), which I extracted from Andriy Lesyuk's "WikiNG":http://projects.andriylesyuk.com/projects/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.
--------------------------------------------------------------------------------
related_issues
relates,Closed,543,Wiki links to versions, documents, files
relates,New,2195,wiki marco to link to files
relates,Closed,867,Want more wiki link types
Admin Redmine さんがほぼ3年前に更新
- カテゴリ を Text formatting_26 にセット
- 対象バージョン を Unplanned backlogs_23 にセット