aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/pagecount.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/plugins/pagecount.mdwn')
-rw-r--r--doc/plugins/pagecount.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/plugins/pagecount.mdwn b/doc/plugins/pagecount.mdwn
new file mode 100644
index 000000000..678ac823c
--- /dev/null
+++ b/doc/plugins/pagecount.mdwn
@@ -0,0 +1,11 @@
+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
+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.