cogReveals all of your hidden documents
Developed by

Caleb James DeLisle

0 Votes
LicenseGNU Lesser General Public License 2.1



  1. BACK UP YOUR DATABASE. Even the smallest change can reveal hidden database corruption.
  2. log in as a user with programming permission.
  3. paste this snippet into a page.
  4. click preview.

It won't output anything, just makes all of your hidden documents visible.

try {
    session = xcontext.getContext().getWiki().getHibernateStore().getSessionFactory().openSession();
    session.createQuery("update XWikiDocument as doc set doc.hidden = false where doc.hidden = true").executeUpdate();
} finally {

Prerequisites & Installation Instructions

Copy the code snippet to a page and save it.

Created by Caleb James DeLisle on 2010/07/15 06:53

Get Connected