Bug: "Raw text" is only for the current version
Test case
When viewing a past version of a topic, "raw text" ony leads to the current version. It would be useful to be able to look at a past version's raw text in cases where you want to revert all/part of the document.
Environment
| TWiki version: |
08/01 (beta3) |
| TWiki plugins: |
None (Std) |
| Server OS: |
Linux Mandrake 6 (x86) |
| Web server: |
Apache |
| Perl version: |
5.x |
| Client OS: |
Win2k, Mac OS X |
| Web Browser: |
IE5 |
Fix record
Adding "raw=on" to the rev-specific URL gets me half-way there (the raw text is displayed, but not in a text area -- tags are interpreted by the browser).
--
MichaelKitchin - 21 Aug 2001
Textarea now works. rev= added for raw viewing and for print viewing - done via arg %REVARG%
--
JohnTalintyre - 24 Aug 2001
Great.
I canīt help thinking that this should be the preferred way of reverting a topic to the state of a previous revision. It is much less confusing for the people who might otherwise think they are going mad when an update goes silently AWOL using the "undocumented" delete revision mechanism.
So, how about we have, for administrators, a "revert to this version" which copies the content of the previous revision into the next version and discourage apart for extreme cases, the use of delete revision. Hence we have an audit trail. I guess to be completely clear we could even have a meta tag to that comments that a revert was done.
--
MartinCleaver - 24 Aug 2001
I'm not sure I'd want to alter the code to do this, but it's certainly correct to say that deleting a revision should be avoided if possible. The comments on usage in
TWiki.cfg say:
"use only as a last resort, as history is lost"
--
JohnTalintyre - 24 Aug 2001