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

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2004-08-28 - SamHasler
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.