X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/becacc5566bfa841f907b51f36d0034081842752..1ef7d6de125a6e49af3f2493a29d11a63b7b2164:/doc/plugins/pagecount.mdwn diff --git a/doc/plugins/pagecount.mdwn b/doc/plugins/pagecount.mdwn index 0fddecf30..8f7029df8 100644 --- a/doc/plugins/pagecount.mdwn +++ b/doc/plugins/pagecount.mdwn @@ -1,13 +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]] + +Provides a \\[[pagecount ]] [[ikiwiki/PreProcessorDirective]] that is +replaced with the total number of pages currently in the wiki. -The optional parameter "pages" can be a [[GlobList]] specifying the pages -to count, default is to count them all. +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. - -[[tag type/meta]] +[[pagecount pages="* and !recentchanges"]] +pages, of which [[pagecount pages="*/Discussion"]] are discussion pages.