[Pmwiki-users] Creating Groups

Patrick R. Michaud pmichaud
Thu Jan 20 07:29:12 CST 2005


CORRECTION to my earlier post:

On Thu, Jan 20, 2005 at 07:06:20AM -0700, Patrick R. Michaud wrote:
> [...] So the easy way to stop authors from deleting the page entirely
> is to provide a $DeleteKeyPattern that can never be matched, such as:
> 
>     $DeleteKeyPattern = '/.^/';

Oops, the slashes won't work here, so the actual statement should read:

    $DeleteKeyPattern = '.^';

to disable the "delete-via-edit" capability entirely.  To then add
an ?action=delete, see my *next* message.  :-)

Pm



More information about the pmwiki-users mailing list