DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

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: 2014/02/08 17:39 by 107.215.28.190