This code gets the first 500 pages that
are not in the XWiki space. You can click on each page and then delete
it.
#set ($sql = "doc.web!='XWiki'
order by doc.fullName")
#set ($start = 0)
#set ($nb = 500)
#set($curweb="")
#foreach ($item in $xwiki.searchDocuments($sql,
$nb , $start))
#if ($xwiki.hasAccessLevel("view",
"${context.database}:${item}"))
#set($bentrydoc = $xwiki.getDocument($item))
#if($curweb!=${bentrydoc.web})
<div>
1.1 ${bentrydoc.web}
</div>
#set ($curweb = ${bentrydoc.web})
#end
* [$bentrydoc.name>${bentrydoc.web}.$bentrydoc.name]
by $xwiki.getLocalUserName($bentrydoc.author) on $xwiki.formatDate($bentrydoc.date,"MMMM
dd, yyyy HH:mm") <a href="$bentrydoc.getURL("edit")">edit</a>
#end
#end
Cody Burleson/Falls Church/IBM@IBMUS wrote on 08/22/2005
04:07:29 PM:
>
> Can someone help me out here?
>
> I have created some pages (just through messing around and
> experimenting) that I decided I did not want. I did this using the
> [bracket around text] method. Then afterwards, I deleted the
> bracketed text. But, I am assuming that my page data is still
> sitting somewhere in the database. Is there some way to generate a
> list of all pages? And if so - is there also some way to delete
> pages for good?
>
>
> ==================================
> Cody Burleson
>
>
> --
> You receive this message as a subscriber of the xwiki-
> users@objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws