> I would like to display in a page the list of deleted pages in a group.
> As the deleted pages are skipped from the search and page list results, I

I just published a new recipe to do that: see
http://www.pmwiki.org/wiki/Cookbook/Trash .

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.

    (:pagelist name=*-trashed:)

By default, the user is redirected to the (un)trashed page.
Optionally, the redirect parameter can be used to specify another
page:

    MyGroup.MyPage?action=trash&redirect=Main.HomePage

Feedback welcome.

Christophe

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to