This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
TitleSingleVersionForSavesBySameUserWithinHour
Date23-Aug-2005 12:56:36 EEST
JSPWiki version2.2.28
SubmitterGregorHagedorn
Idea CategoryGenericIdea
Reference
Idea StatusNewIdea

I have previously used TWiki and I prefer the way it handles multiple sequential saves by the same user:

Within a given timeframe (default 1 hour, should be definable as a property) multiple saves by the same user overwrite each other without creating new versions.

That is: the first save always creates a new version and backs up the previous version. The following saves first check: is user same, and is current save time less than an hour away from previous update. If so, no new version is created and the page text and the modification date are directly overwritten.

Rationale:

Often a page is saved and when seeing the result yet another point is detected or something forgotten is remembered. This frequently leads to multiple minor edits following a major edit.

This feature is not intended to save disk space, it is highly useful to make the revision control and comparison feature more useful, because minor are already compacted.

Implementation:

We have changed the jdbc provider to achieve this and it required only a handful lines of code in updatePageText. Is this more complicated with the file-system providers?

See also Idea Save And Continue Editing which may be covered by this.

Gregor


This maybe be difficult to handle in a conflict situation. But it's certainly worth considering.

-- JanneJalkanen


Gregor,

One thing that immediately comes to mind is this scenario: someone spends say, 59 minutes editing a page, in multiple sessions. In that last minute they accidentally delete a substantial portion of the page and click on the Save button. In the current situation, they could just go back to the last revision, but it seems that in your proposal they would lose the entire hour's work. I'm not sure I'd even want this as an option, honestly. I don't mind the disk space, and having multiple revisions of a page during an editing session might be considered by some to be a Very Good Thing. As a writer, I might like a paragraph I had deleted twenty minutes ago, and currently I can recover that if I'd saved it. Revision control is a godsend.

-- MurrayAltheim

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 24-Aug-2005 01:27 by MurrayAltheim.