]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/pagecount.mdwn
Use non-deprecated wikilink page (ikiwiki/wikilink)
[ikiwiki.git] / doc / plugins / pagecount.mdwn
index 678ac823c434bb0ec02d843023f1c315e1d2e4df..84a02c3f1656bfe54c2017e94944c643ab87b89e 100644 (file)
@@ -1,11 +1,14 @@
-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.
+Provides a \\[[!pagecount ]] [[ikiwiki/directive]] that is
+replaced with the total number of pages currently in the wiki.
+
+The optional parameter "pages" can be a [[ikiwiki/PageSpec]] 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.
+[[!pagecount pages="* and !recentchanges"]]
+pages, of which [[!pagecount pages="*/Discussion"]] are discussion pages.