[pmwiki-devel] How feasible are page edit locks in PmWiki?

Petko Yotov 5ko at 5ko.fr
Sun Jul 18 16:27:44 CDT 2010


On Thursday 15 July 2010 00:41:03, Randy Brown wrote :
> Is it possible to to grant locks on pages being edited? For example, a lock
>  would last for five minutes or until the page is saved, whichever comes
>  first.
> 
> Or is Pmwiki's current simultaneous editing feature too intrinsic to PmWiki
>  to allow a lock mechanism?

It should be possible to write a recipe with a new $EditFunctions that does 
this. You can see what should be taken care of, and why PmWiki doesn't lock 
edited pages here :

  http://www.pmwiki.org/wiki/PmWiki/PageLocking

Petko



More information about the pmwiki-devel mailing list