aboutsummaryrefslogtreecommitdiff
path: root/doc/ikiwiki/pagespec.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-06 19:19:51 -0400
committerJoey Hess <joey@kitenet.net>2010-05-06 20:05:53 -0400
commitd9d910f6765de6ba07508ab56a5a0f93edb4c8ad (patch)
treecbacf4b83df130ea2fbfb3bdbadd5630d752594d /doc/ikiwiki/pagespec.mdwn
parent71b8d2ad4122b7cfe9eda52959e0b2c1f172439c (diff)
downloadikiwiki-d9d910f6765de6ba07508ab56a5a0f93edb4c8ad.tar
ikiwiki-d9d910f6765de6ba07508ab56a5a0f93edb4c8ad.tar.gz
moved comments pending moderation
* comments: Comments pending moderation are now stored in the srcdir alongside accepted comments, but with a `._comment_pending` extension. * This allows easier byhand moderation, as the "_pending" need only be stripped off and the comment be committed to version control. * The `comment_pending()` pagespec can be used to match such unmoderated comments, which makes it easy to add a feed of them, or a counter indicating how many there are. * Belatedly added a `comment()` pagespec.
Diffstat (limited to 'doc/ikiwiki/pagespec.mdwn')
-rw-r--r--doc/ikiwiki/pagespec.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/ikiwiki/pagespec.mdwn b/doc/ikiwiki/pagespec.mdwn
index 1c99aefac..c66395f84 100644
--- a/doc/ikiwiki/pagespec.mdwn
+++ b/doc/ikiwiki/pagespec.mdwn
@@ -51,6 +51,8 @@ Some more elaborate limits can be added to what matches using these functions:
wiki admins.
* "`ip(address)`" - tests whether a modification is being made from the
specified IP address.
+* "`comment(glob)`" - matches comments to a page matching the glob.
+* "`comment_pending(glob)`" - matches unmoderated, pending comments.
* "`postcomment(glob)`" - matches only when comments are being
posted to a page matching the specified glob