cogLists all the documents that have been deleted on your wiki and are stored in the wiki's recycle bin
Developed by

Guillaume Lerouge

0 Votes
LicenseGNU Lesser General Public License 2.1


You can click on a document name to go to its initial page and restore it.

This snippet requires the page to be saved with programming rights in order to work.

## Note that we need to use the HTML macro here since we cannot use
## [[$item>>$xwiki.getURL($item)]] since it produces a relative URL
## that won't work. In the future we plan to introduce a solution for this
## see for more information.
#foreach($item in $"select distinct ddoc.fullName from XWikiDeletedDocument as ddoc where ddoc.fullName not in (select doc.fullName from XWikiDocument as doc) order by 1 asc"))
<li><a href="$xwiki.getURL($item)">$item</a></li>

Prerequisites & Installation Instructions

Copy the code snippet to a page and save it.

Created by Guillaume Lerouge on 2009/09/17 18:30

Get Connected