I think each page should have a "ViewSource" link as well as an "Edit" link.
- Sometimes you just want to cut-n-paste something from one page to another, but you do not need an edit lock.
- Earlier revs dont allow you to edit, so you can't see the source.
- This would be very handy for restoring old revs.
- (Like the way some moron has whacked the codev front page.)
--
TWikiGuest - 28 Nov 2000
That would be a useful enhancement. Note that with the 01 Dec 2000 release you can edit a page and then "Cancel" out of edit, removing the edit lock so that other people don't get blocked for an hour.
Fortunately it is very easy to undo a revision of persons who deliberately delete some text (using an undocumented command reserved for
TWikiAdminGroup members). Follow up in
DevOpinionPoll.
--
PeterThoeny - 28 Nov 2000
I've made a small script 'show' which lets you see the source of
any revision. The script is based on the 'edit' script but doesn't
lock and can handle the rev=1.x param.
Change the following line in the 'view' script.
< # disable edit of previous revisions
< $tmpl =~ s/%EDITTOPIC%/Edit/go;
---
> # allow to show the original text
> $tmpl =~ s/%EDITTOPIC%/<A href=\"$scriptUrlPath\/show%SCRIPTSUFFIX%\/%WEB%\/%TOPIC%\?rev=1.$rev\"><B>Show<\/B><\/A>/go;
Then install the 'show' and 'show.tmpl' files. Now you can
show the source from older revisions. For me, as a newby to TWiki
it is a good tool to look at the formatting someone else had done
some revs ago.
--
StefanScherer - 29 Dec 2000