aboutsummaryrefslogtreecommitdiff
path: root/underlays/basewiki/directive/pagecount.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'underlays/basewiki/directive/pagecount.mdwn')
-rw-r--r--underlays/basewiki/directive/pagecount.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/underlays/basewiki/directive/pagecount.mdwn b/underlays/basewiki/directive/pagecount.mdwn
new file mode 100644
index 000000000..b2ed09a48
--- /dev/null
+++ b/underlays/basewiki/directive/pagecount.mdwn
@@ -0,0 +1,10 @@
+The `pagecount` directive is supplied by the [[!iki plugins/pagecount]] plugin.
+
+This directive counts 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.
+
+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.