Remove All Comments

Last modified by Vincent Massol on 2014/11/27 14:54

cogRemove all comments from all pages in the current wiki
Developed by

Vincent Massol, Sergiu Dumitriu

0 Votes
LicenseGNU Lesser General Public License 2.1


#if ($request.confirm == "1")
  #foreach($d in $xwiki.wrapDocs($xwiki.searchDocuments(", BaseObject obj where = doc.fullName and obj.className = 'XWiki.XWikiComments'")))
      * Removed comments from [$d]
  [[Remove Comments>>?confirm=1]]

Prerequisites & Installation Instructions

Copy the code snippet to a page and save it.


Get Connected