]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/orphans.mdwn
move demo back to plugin and add example
[ikiwiki.git] / doc / plugins / orphans.mdwn
index e50ee25d0613123d6a2a4449c14512063d56886c..ea7c4df13f42aba0a83a3b957cd3fcc621d89e69 100644 (file)
@@ -1,6 +1,14 @@
 [[!template id=plugin name=orphans author="[[Joey]]"]]
 [[!tag type/meta]]
 
-This plugin implements the [[ikiwiki/directive/orphans]] [[ikiwiki/directive]].
-The directive generates a list of possibly orphaned pages -- pages that no
-other page links to.
+This plugin provides the [[ikiwiki/directive/orphans]]
+[[ikiwiki/directive]], which generates a list of possibly orphaned pages --
+pages that no other page links to.
+
+[[!if test="enabled(orphans)" then="""
+Here's a list of orphaned pages on this wiki:
+
+[[!orphans pages="* and !news/* and !todo/* and !bugs/* and !users/* and
+!recentchanges and !examples/* and !tips/* and !sandbox/* and !templates/* and
+!wikiicons/* and !plugins/*"]]
+"""]]