This is actually a pretty neat idea that works with file based Wiki.

The screen shows two boxes, one for the Wiki page to delete and a password box. If the page is there and the password is correct it will delete the file, old versions and any attachments.

Thanks to THUONGNM and JoelConfino for the original code!!

I've changed it to work with the current template structure. In the zip file you will find Debug.jsp that goes in the root directory. There are two files that need to go into the template directory. ViewTemplate.jsp is a big switchboard, it decides what to show based on the context. DeleteContent.jsp is the form. (The one marked fxs, should work with the mgr template, but you should check it first)

Warnings!!!

  1. This will delete any page you give it
  2. It will delete all traces of the page
  3. You should pick a better password than p4ssw0rd (Yes, the password should be in the property file)

Tested with 2.0.52

--FosterSchucker

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
zip
Delete.zip 4.6 kB 1 20-Mar-2004 03:51 FosterSchucker
jsp
JoelDelete.jsp 2.8 kB 1 10-Mar-2004 06:02 THUONGNM
txt
monastir.txt 0.5 kB 1 02-Jul-2004 15:45 213.41.128.160
« This page (revision-7) was last changed on 28-Feb-2005 16:08 by 158.228.228.108