X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/f92505d78b82c6ac146e43054ebd12441575a602..8f598d529ed448d48f80b3efa91f449e1cd2c73b:/doc/plugins/pagecount.mdwn diff --git a/doc/plugins/pagecount.mdwn b/doc/plugins/pagecount.mdwn index 8f7029df8..71872fae8 100644 --- a/doc/plugins/pagecount.mdwn +++ b/doc/plugins/pagecount.mdwn @@ -1,14 +1,11 @@ -[[template id=plugin name=pagecount author="[[Joey]]"]] -[[tag type/meta]] +[[!template id=plugin name=pagecount author="[[Joey]]"]] +[[!tag type/meta]] +[[!tag type/widget]] -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 [[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. +This plugin provides the [[ikiwiki/directive/pagecount]] +[[ikiwiki/directive]], which displays the number of pages +currently in the wiki. If it is turned on it can tell us that this wiki includes -[[pagecount pages="* and !recentchanges"]] -pages, of which [[pagecount pages="*/Discussion"]] are discussion pages. +[[!pagecount ]] pages, of which +[[!pagecount pages="*/Discussion"]] are discussion pages.