]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/pagecount.mdwn
patch plugin documentation to refer to directive pages
[ikiwiki.git] / doc / plugins / pagecount.mdwn
index 0fddecf305872a98e02530412b403cd96932b5de..f5b0a915fab7f130018e098d9438047fdbcdcd28 100644 (file)
@@ -1,13 +1,5 @@
-Provides a \\[[pagecount ]] [[PreProcessorDirective]] that is replaced with
-the total number of pages currently in the wiki.
+[[!template id=plugin name=pagecount author="[[Joey]]"]]
+[[!tag type/meta]]
 
-The optional parameter "pages" can be a [[GlobList]] specifying the pages
-to count, default is to count them all.
-
-This plugin is included in ikiwiki, but is not enabled by default.
-
-If it is turned on it can tell us that this wiki includes
-[[pagecount ]] pages, of which [[pagecount pages="*/Discussion"]] are
-discussion pages.
-
-[[tag type/meta]]
+This plugin implements the [[ikiwiki/directive/pagecount]] [[ikiwiki/directive]].
+The directive displays number of pages currently in the wiki.