Modify

Opened 14 years ago

Closed 13 years ago

#6990 closed enhancement (fixed)

RFE: Simplifed wiki syntax for attachment links.

Reported by: thuffir Owned by: Radek Bartoň
Priority: normal Component: DiscussionPlugin
Severity: minor Keywords:
Cc: Trac Release: 0.12

Description

Refering to current topic attachments with attachment is not working.

Attachments (0)

Change History (7)

comment:1 Changed 14 years ago by Radek Bartoň

Resolution: fixed
Status: newclosed

They works. The syntax is just little cryptic:

[attachment:discussion:topic/<topic_id>:<filename>]

In r7899, I added another two wiki links to simplify this a bit:

[topic-attachment:<topic_id>:<filename>]
[raw-topic-attachment:<topic_id>:<filename>]

comment:2 Changed 14 years ago by thuffir

Resolution: fixed
Status: closedreopened

Thank for the fix and the information. (Please update the plugin page to include this information.)

Unfortunately I am still unable to display embedded images with the [[Image()]] macro.

Is there any way to do this?

comment:3 Changed 14 years ago by thuffir

Resolution: fixed
Status: reopenedclosed

OK. Sorry. I have it...

it works like this:

[[Image(discussion:topic/11:example.png)]]

Thanks anyways

comment:4 Changed 14 years ago by thuffir

Resolution: fixed
Status: closedreopened
Type: defectenhancement

Would it be a big effort to make simple filename references work? (Like in wiki or tickets.)

attachment:filename.ext would refer to the current topic

comment:5 Changed 14 years ago by anonymous

I can write support for:

[topic-attachment:<filename>]

...

comment:6 Changed 14 years ago by Radek Bartoň

Severity: normalminor
Summary: Wiki link to the topic attachments are not workingRFE: Simplifed wiki syntax for attachment links.
Trac Release: 0.110.12

comment:7 Changed 13 years ago by Radek Bartoň

Resolution: fixed
Status: reopenedclosed

It has been implemented some time ago but I forgot to close the ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.