cogShows all pages that don't have any tag
TypeSnippet
Category
Developed by

Volker Lapczynski

Rating
0 Votes
LicenseGNU Lesser General Public License 2.1

Table of contents

Description

{{velocity}}
#set($sql = ("where doc.fullName not in (select doc.fullName from XWikiDocument doc, BaseObject as tagObj, DBStringListProperty as tags join tags.list tag where doc.fullName = tagObj.name and tagObj.className = 'XWiki.TagClass' and tagObj.id = tags.id.id and tags.id.name='tags' and tag <> '')order by doc.space asc ") )
#set ($list = $xwiki.searchDocuments($sql))
#foreach($item in $xwiki.searchDocuments($sql))
  #set ($recentDoc = $xwiki.getDocument($item).getTranslatedDocument())
  ## We use HTML here because we don't have a tool to escape wiki syntax in document title.
  |$recentDoc.getSpace()|{{html}}<a href="$recentDoc.getURL()" target="_blank">$escapetool.xml($recentDoc.plainTitle)</a>{{/html}}
#end
{{/velocity}}
Tags: tag tags
     

Get Connected