aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/pagecount.mdwn
blob: 34b871262b4b1d1ae5bd59feb9344f313d443d30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[[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.