Item10809: Suggestion for another output format
Current State: Confirmed
Released In: n/a
Target Release: minor
As some of you know, I find myself often providing enhancement and bug-fix patches.
It occurred to me that it would be nice if Compare Revisions was able to return a patch (e.g. diff -U5) file as an upload.
Then when a documentation topic is updated, once could select the previous and updated revision, click & have a patch file to distribute.
Currently this is a command-line process that depends on the topic storage backend (e.g. rcsdiff) and a certain amount of fumbling around to find the right versions. Compare revisions already knows how to find the revision history, has a reasonable GU for displaying/selecting, calls the right storage module to get the diff - all it needs is to have a new (quite simple) output format option, and send the Content-Disposition: attachment header...
I know this bypasses all the smarts in CompareRevision
- but it does already have almost everything necessary, and it doesn't seem worthwhile to add yet another compare plugin (and update the various magic that knows about a topic being compared...)
Obviously, the audience is developers/doc maintainers, not end users...
- 29 May 2011
Cool idea. Set as enhancement
- 30 May 2011
I don‘t think this is possible with CompareRevisionsAddOn
. This plugin compares the rendered HTML output, but a patch as proposed should be generated by comparing the raw Wiki text
- 01 Feb 2019