Opened 18 years ago
Closed 14 years ago
#5273 closed enhancement (wontfix)
Enhanced Attachment Handling
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | attachment | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
It would be helpful if attachment handling could be extended so as to allow page maintainers to:
- Define and edit the order of display of attachments;
- Edit the description of an attachment directly, without having to delete the attachment;
- Group attachments and provide headers and subheaders.
Attachments (0)
Change History (6)
comment:1 by , 18 years ago
comment:2 by , 17 years ago
Keywords: | needinfo added |
---|
You can provide direct links to the attachments in the wiki pages already, and thus define the order they appear, better descriptions, and headers and subheaders. This is not exactly what you are asking, but works well for the pages and attachments I've worked with.
From TracLinks: the link syntax for attachments is as follows:
attachment:the_file.txt
creates a link to the attachment the_file.txt of the current objectattachment:wiki:MyPage:the_file.txt
creates a link to the attachment the_file.txt of the MyPage wiki pageattachment:ticket:753:the_file.txt
creates a link to the attachment the_file.txt of the ticket 753
Will that work for you?
comment:3 by , 17 years ago
Component: | wiki system → attachment |
---|---|
Keywords: | needinfo removed |
Milestone: | → 2.0 |
- corresponds to #787.
- and 3. are a bit more involved, but quite interesting.
comment:5 by , 14 years ago
I tend to agree with comment:2 that if more structure is needed, this should be done using explicit links in the wiki page (or ticket description). Wontfix?
comment:6 by , 14 years ago
Milestone: | triaging |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Yep, wontfix.
I have been considering this and I believe that perhaps a good way to approach this would be to treat attachments just as a specific type of wiki page, with an extension to the wiki processor syntax to allow inclusion of a given attachment on any page. So, one would essentially upload and name an attachment file and then include it on whatever regular wiki page or pages desired with something akin to [download:ThisIsAnAttachment My attachment contains this]. The attachment names themselves should be indexed and searchable just as any other wiki page.