[pmwiki-users] Re: Problem with URLapprove
Patrick R. Michaud
pmichaud at pobox.com
Fri Jun 17 14:49:57 CDT 2005
On Tue, Jun 14, 2005 at 12:08:04AM +0200, chr at home.se wrote:
> On Mon, 13 Jun 2005, Patrick R. Michaud wrote:
>
> > Oh, I don't think it's so hopeless. The urlapprove.php script uses
> > PostPage() to make changes to the approvals page (so that page history
> > is preserved), and PostPage() always writes to the storage area
> > given by $WikiDir.
>
> Does the locking mechanism also look at $WikiDir?
Actually, the locking mechanism is a bit coarser-grained than that --
it tends to lock at the per-action level and not at the writing-a-page
level. So, it's HandleApprove and HandleEdit that perform the
synchronization that allow us to prevent conflicts...
Pm
More information about the pmwiki-users
mailing list