[pmwiki-users] Readonly pages?
Patrick R. Michaud
pmichaud at pobox.com
Fri Sep 15 09:32:40 CDT 2006
On Fri, Sep 15, 2006 at 10:36:52AM +0200, Stefan Schimanski wrote:
> Hi!
>
> Can I set a page readonly, even for the admin, somehow? Saw the @lock
> attribute, but it excludes the admin...
You can create a per-page customization that disables ?action=edit
for that page. For example, to make it impossible for anyone
(including the admin) to edit Main.WikiSandbox, create
local/Main.WikiSandbox.php and put
<?php
if ($action == 'edit') $action = 'browse';
This turns off editing entirely.
Pm
More information about the pmwiki-users
mailing list