We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

Question

It seems that whenever I edit a topic within the same session (or, at least, on the same day), the version number doesn't change.

For example, I do these steps:

  1. Create a new topic (it becomes version 1.1).
  2. After saving the topic, click directly on the "Edit" link that's presented in the final presentation of my saved topic.
  3. Make some more changes.
  4. Preview and Save those changes.

After step four (4), I expect the resultant output of the save operation to be revision 1.2, but it's still 1.1, and there's no record of my "original" 1.1 in the .txt,v file.

PS: I just visited one of the topics I'd been unable to get to generate a new version, and it generated a new version. Even though the server-side system clock (in UTC) was on the same day, my local clock says it's a different day than it was the last time I edited that topic. I went to make a second edit to that topic on this same "new day", and it did not update the version number. Curioser and curiouser.

By the way, yes, I am making sure to "reload" the edit page each time so that I get the freshest possible topic contents.

Yet more: I've tested this under Opera and Lynx, and also am seeing this behaviour here, on this very TWiki installation at twiki.org.

  • TWiki version:
Don't know, but TWiki is 1.46, 15 Sep 2001

  • Web server:
Apache 1.3.12

  • Server OS: Linux 2.2.17-21mdk (Mandrake 7.2)

  • Web browser: Opera 5.0 20010510 Build 024 -[5]

  • Client OS:
Linux 2.2.14-15mdk (Mandrake 7.0)

-- TrippLilley - 14 Nov 2001

Answer

The "normal" TWiki behavior is NOT to increase the revision number if you re-edit the topic before the topic lock is expired. The default topic lock is one hour.[ MattWilkie 15 Nov 2001 ] See UnlockTopic

This is a configurable setting you can change in your TWiki.cfg file. To switch to the other setting (increase the revision number at each save) set

$doKeepRevIfEditLock = "0";

-- AndreaSterbini - 15 Nov 2001

Also, there is a proposal - ForceNewRevision - to add a check box to allow a user to force a new revision even when the user is the same.

-- MartinCleaver - 15 Nov 2001

Topic revision: r8 - 28 Aug 2004 - 20:12:42 - SamHasler
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback