# Deleting Pages

To delete a page, edit the page, select (highlight) all text in the edit textarea and replace it with the single word

    delete


Note that it may be a good idea to add a comment to the field summary explaining why you deleted the page. (The field summary is usually found just below the edit textarea).

After saving the changes the page is deleted. As an added safety feature, the deleted page still exists on the server (with a timestamp) and can be restored to the former page by the wiki administrator.

If you suspect that a page has been deleted but aren't sure, have a look at the wikigroup's RecentChanges. Erasing a page counts as editing the page, and the activity is recorded there and on Site.AllRecentChanges.

The default word used for page deletion ("delete") can be changed in config.php by setting the variable \$DeleteKeyPattern (see EditVariables). If there is a danger of malicious page deletion it may be a good idea to change the delete word to something more obscure. There is also a recipe for creating a separate delete action at Cookbook:DeleteAction.

Deleting Groups & Categories

Once I create a Group or Category, how can I get rid of that group or category?

Just remove the unwanted pages from wiki.d/ . (Doing it via the wiki doesn't resolve the problem, since it counts as an "update" which causes the page to be re-created.)