[pmwiki-users] simultaneous edits and wikiforms
Patrick R. Michaud
pmichaud at pobox.com
Thu Mar 30 07:56:49 CST 2006
On Thu, Mar 30, 2006 at 10:02:09AM +1200, John Rankin wrote:
> I have been asked about modifying wikiforms to take
> advantage of detection and resolution of simultaneous
> edits. Am I correct in thinking that all I have to do
> is include a basetime hidden input variable, set to
> $Now? Wikiforms passes submitted output to HandleEdit
> to preview or post.
Yes, that's basically all that you need to do. The simuledit.php
script checks to see if the page has changed since 'basetime',
and if so it performs a merge and produces the warning message.
If there's no 'basetime', then simuledit.php just passes the
page on to the rest of the edit functions.
More information about the pmwiki-users