[pmwiki-users] (again) Restore deleted page at pmwiki.org

Patrick R. Michaud pmichaud at pobox.com
Thu Feb 9 14:11:15 CST 2006


On Thu, Feb 09, 2006 at 08:43:36PM +0100, christian.ridderstrom at gmail.com wrote:
> On Thu, 9 Feb 2006, Patrick R. Michaud wrote:
> > > * It'd be useful to see who deleted it (IP-number most likely if there's 
> > >   no name)
> > 
> > Yes, but it's not entirely clear where that information should go to be
> > accessible.
> 
> Do you mean that it's not obvious where this information should be stored?
> I'm probably slow today, but why wasn't this part of the information added
> to RecentChanges... or is it that we shouldn't log IP numbers in that way?

Several people have remarked that they don't feel that IP addresses
should be logged to RecentChanges by default.  (Of course, it can be easily
done as a local customization.)

> > > * It'd be useful if a page can be protected from deletion (but not 
> > >   editing)
> > 
> > Normally this is done by changing the $DeleteKeyPattern to prevent
> > or restrict deletion from the default.  I can see about doing that
> > for select groups on pmwiki.org if you'd like.
> 
> However, maybe it'd be useful in general to allow a special password for 
> deleting a page?  The password hierarchy I'm thinking about would then be 
> as follows:
> 
> 	delete access => edit access => read access
> 
> In other words, you might be able to edit the page without being allowed
> to delete it. As a result, users can be allowed to edit a page and make
> changes, but they can't delete it and thereby break the history of the
> page.

Essentially this is just saying that you want non-administrators to be
able to control the page history, since it doesn't affect users' ability
to modify the page contents.  It just affects their ability to restore them.

IMO this is really an administrative decision that is better handled
by setting $DeleteKeyPattern than by creating yet another level of password
authorizations to keep track of.

Still, what you're asking for already exists.  :-)  :-)
See http://www.pmwiki.org/wiki/Cookbook/DeleteAction .

Pm




More information about the pmwiki-users mailing list