Modify ↓
Opened 8 years ago
Last modified 5 years ago
#12572 new enhancement
Add a download link to patch/diff renderer
Reported by: | Ryan J Ollos | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | next-major-releases |
Component: | wiki system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
It would be nice to be able to download a patch that is posted inline of a comment. For example: comment:1:ticket:12546. We could add a download link to the patch renderer. I'd use it to grab a URL that could be passed to wget.
Attachments (1)
Change History (4)
by , 6 years ago
Attachment: | DownloadPatch-trunk@16826.patch added |
---|
comment:3 by , 5 years ago
Milestone: | next-dev-1.5.x → next-major-releases |
---|
Note:
See TracTickets
for help on using tickets.
This looks like a good start.
ul.entries
, and some styling would be nice.ticket12572_comment2.diff
orWikiStart.diff
). It looks like the resource can be obtained fromcontext.resource
. I'm unsure if unique names from each download link are needed in the case that the resource has more than one patch in the content.