Changes for page Configuration

Last modified by Vincent Massol on 2017/10/22

From version 181.3
edited by Vincent Massol
on 2017/09/26
To version 182.1
edited by Vincent Massol
on 2017/10/03
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -600,6 +600,20 @@
600 600  * The [[Commons Groovy Module>>extensions:Extension.GroovyModuleCommons]]
601 601  * The [[Platform Groovy Module>>extensions:Extension.GroovyModulePlatform]]
602 602  
603 += Lock Duration =
604 +
605 +By default, when a user starts editing a page, a lock will be set on that page, see [[Page Editing>>Documentation.UserGuide.Features.PageEditing#HLocking]]. The lock is valid by default for 30 minutes, after which it gets invalidated.
606 +
607 +In order to increase this duration, you have 2 options:
608 +
609 +* Add a property named ##lock_Timeout## to your ##xwiki.cfg## configuration file, and set the value in seconds (and restart XWiki). For example for 15 minutes: ##lock_Timeout = 900##.
610 +* Or add the configuration in the wiki itself:
611 +** Edit the ##XWiki.XWikiPreferences## document using the class editor
612 +** Add a Number property named ##lock_Timeout## (case sensitive)
613 +** Edit the ##XWiki.XWikiPreferences## document using the object editor
614 +** Find the ##lock_Timeout## property and put the desired number of *seconds* a lock should be valid for
615 +** Don't forget to save the document
616 +
603 603  = Sample xwiki.cfg =
604 604  
605 605  See {{scm path="xwiki-platform-tools/xwiki-platform-tool-configuration-resources/src/main/resources/xwiki.cfg.vm"}}xwiki.cfg.vm{{/scm}}

Get Connected