DokuWiki

It's better when it's simple

User Tools

Site Tools


locking

Page Locking

In order to avoid conflicts1) when multiple users try to edit the same page at the same moment, DokuWiki locks the pages you are editing.

If a page is currently edited by another user, you will see a 'Page locked' message which indicates who is editing the page and when the lock will expire.

Lock expiration

A page lock is set for a time given by the locktime option. Locks are refreshed :

  • When the Preview button is pressed, the age of the lockfile is reset, so if more than 15 minutes for editing is needed just press Preview from time to time
  • When JavaScript is available DokuWiki will refresh the lock in the background while editing the document

Locks do expire when :

  • they are older than the defined age 2).
  • the editing user saves the page
  • the editing user cancels the editing by hitting the Cancel button

If you edit a page, a JavaScript alert reminds you about the expiring lock one minute before it expires.

Lockfiles contain the IP address (or username if available) of the one who edits a page - This means users can not lock pages from themselves.

Configuration

1)
Although conflicts are still checked for.
2)
meaning that if you don't have JavaScript enabled, you will have a limited time for editing
locking.txt · Last modified: 2022-03-18 00:17 by 208.87.234.201

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki