How can I "safely delete" pages and act as the OS "trash" or "recycle bin" ?
Notes and Comments
The recipe adds two actions: 'trash' and 'untrash'.
MyGroup.MyPage?action=trash will "rename" MyGroup.MyPage to MyGroup.MyPage-trashed
MyGroup.MyPage-trashed?action=untrash will "rename" MyGroup.MyPage-untrash to MyGroup.MyPage
Pagelists can be used to view the pages that are trashed, and to present links to untrash them.
By default, the user is redirected to the (un)trashed page. Optionally, the redirect parameter can be used to specify another page:
Christophe David original script