|
Cookbook /
DeleteActionSummary: Use a separate password for deleting pages
Version: 2005-08-10
Prerequisites: PmWiki 2.x
Status:
Discussion: DeleteAction-Talk
Question answered by this recipeHow can I use a separate password for deleting pages? AnswerThe deletepage.phpΔ script adds an "?action=delete" which can be used to password-protect the removal of pages from the wiki. In addition, the script disables PmWiki's default page deletion mechanism, although this can be restored. DiscussionBy default, pages in PmWiki can be deleted by editing the page and changing the contents to the single word "delete" (controlled by the Note that as with the default page deletion, the pages are not entirely removed from the site's wiki.d/ directory -- the page file is simply renamed to include a timestamp. This is to guard against accidental or malicious page deletions via the PmWiki interface. Deleted pages are not completely removed until a wiki administrator deletes them from the wiki.d directory. The deletepage.phpΔ script is enabled at Test.DeletePage for those who wish to see its effects. (It's not enabled for testing on this page for somewhat obvious reasons. :-) Contributors
CommentsSee discussion at DeleteAction-Talk User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |