X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/8f8959c96ecc69ecc75b5e5c76b52345afce94d8..c69a7f758590c91bd137a8d1cfa99f37bf28045a:/doc/plugins/pagecount.mdwn diff --git a/doc/plugins/pagecount.mdwn b/doc/plugins/pagecount.mdwn index 48e32672d..f5b0a915f 100644 --- a/doc/plugins/pagecount.mdwn +++ b/doc/plugins/pagecount.mdwn @@ -1,14 +1,5 @@ -[[template id=plugin name=pagecount included=1 author="[[Joey]]"]] -[[tag type/meta]] +[[!template id=plugin name=pagecount 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 [[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. +This plugin implements the [[ikiwiki/directive/pagecount]] [[ikiwiki/directive]]. +The directive displays number of pages currently in the wiki.