X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/7f1313c0525570bdd8c660f436bf95ef764fad45..5b050a4a82d7e2b661fb915cd79e69261cc962d7:/doc/plugins/pagecount.mdwn?ds=sidebyside diff --git a/doc/plugins/pagecount.mdwn b/doc/plugins/pagecount.mdwn index 40299c18d..48e32672d 100644 --- a/doc/plugins/pagecount.mdwn +++ b/doc/plugins/pagecount.mdwn @@ -1,7 +1,10 @@ +[[template id=plugin name=pagecount included=1 author="[[Joey]]"]] +[[tag type/meta]] + Provides a \\[[pagecount ]] [[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 +The optional parameter "pages" can be a [[PageSpec]] specifying the pages to count, default is to count them all. This plugin is included in ikiwiki, but is not enabled by default. @@ -9,5 +12,3 @@ 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 plugins/type/meta]]