プロジェクト

全般

プロフィール

Vote #64029

未完了

Wiki syntax to link to files in the files-module

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Text formatting_26
対象バージョン:
開始日:
2008/10/22
期日:
進捗率:

0%

予定工数:
category_id:
26
version_id:
23
issue_org_id:
2069
author_id:
2465
assigned_to_id:
0
comments:
25
status_id:
1
tracker_id:
2
plus1:
13
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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 さんが約2年前に更新

  • カテゴリText formatting_26 にセット
  • 対象バージョンUnplanned backlogs_23 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0