Modify

Opened 5 years ago

Closed 4 years ago

#6990 closed enhancement (fixed)

RFE: Simplifed wiki syntax for attachment links.

Reported by: thuffir Owned by: Blackhex
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 5 years ago by Blackhex

  • Resolution set to fixed
  • Status changed from new to closed

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 5 years ago by thuffir

  • Resolution fixed deleted
  • Status changed from closed to reopened

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 5 years ago by thuffir

  • Resolution set to fixed
  • Status changed from reopened to closed

OK. Sorry. I have it...

it works like this:

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

Thanks anyways

comment:4 Changed 5 years ago by thuffir

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Type changed from defect to enhancement

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 5 years ago by anonymous

I can write support for:

[topic-attachment:<filename>]

...

comment:6 Changed 4 years ago by Blackhex

  • Severity changed from normal to minor
  • Summary changed from Wiki link to the topic attachments are not working to RFE: Simplifed wiki syntax for attachment links.
  • Trac Release changed from 0.11 to 0.12

comment:7 Changed 4 years ago by Blackhex

  • Resolution set to fixed
  • Status changed from reopened to closed

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

Add Comment

Modify Ticket

Action
as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.