About

This macro lists all deleted pages of the wiki which have been deleted by ?action=delete but still remain on disk. Sorted by title the acls of the pages are shown as well as links to easiliy unerase or completely purge ("nuke") a page from the filesystem. You have to be superuser to call this macro.

This macro is designed to give wiki admins a helping hand in doing a good job - especially to avoid problems when normal users without admin rights try to recreate a deleted page with acl settings (see MoinMoinBugs/ACLexistsOnDeletedPageAndPreventsForCreation and MoinMoinBugs/AclErrorOnUndeletedPage).

Installing

Step 1

Install DeletedPages.py in Moin's macro directory.

Install purge.py in Moin's action directory.

Step 2

Create a new wikipage DeletedPages in the underlay dir:

## Please edit system and help pages ONLY in the moinmaster wiki! For more
## information, please see MoinMaster:MoinPagesEditorGroup.
##master-page:Unknown-Page
##master-date:Unknown-Date
#acl MoinPagesEditorGroup:read,write,delete,revert All:read
#format wiki
#language en
This is an index of all deleted pages in this Wiki.  

----

<<DeletedPages>>

You may also change the acls so that only superusers are able to view the page.

Step 3

Make sure you are superuser with read, write, delete, revert, admin rights and have a try now. But be aware: completely nuking files does really work ;-)

If the DeletedPages macro is too slow for you, you can also try this low-level-version which should be much, much faster: DeletedPages_lowlevel.py

Note

This macro seems to not working with MoinMoin 1.9.3. -- MartinK 2010-09-07 09:45:41

To fix the errors with MoinMoin 1.9.9 you need to make the following two changes:

MoinMoin: MacroMarket/DeletedPages (last edited 2018-04-21 21:23:56 by p5B3B35B4)