]> sipb.mit.edu Git - ikiwiki.git/commitdiff
improve documentation of postcomment
authorJoey Hess <joey@kodama.kitenet.net>
Fri, 12 Dec 2008 20:02:40 +0000 (15:02 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Fri, 12 Dec 2008 20:02:40 +0000 (15:02 -0500)
doc/ikiwiki/pagespec.mdwn
doc/plugins/comments.mdwn

index 90b96c93600948d868c1fadd15b78537f151fefb..d4dd265cc79a9e38701fedc12f787041754c4e48 100644 (file)
@@ -47,8 +47,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.
-* "`postcomment(glob)`" - matches internal-use pages created by the
-  comments plugin as comments for pages that match the specified glob.
+* "`postcomment(glob)`" - matches only when comments are being 
+  posted to a page matching the specified glob
 
 For example, to match all pages in a blog that link to the page about music
 and were written in 2005:
index 347d7fc8dd29c7ce462a4565fc9cef25d5f354f1..fa263ef40deb99a643a702d95b446d742f60dbe5 100644 (file)
@@ -19,8 +19,7 @@ users can only post comments.
 
 Individual comments are stored as internal-use pages named something like
 `page/comment_1`, `page/comment_2`, etc. These pages internally use a
-`\[[!_comment]]` [[ikiwiki/directive]], and comment pages can be matched
-using a special `postcomment()` [[ikiwiki/PageSpec]].
+`\[[!_comment]]` [[ikiwiki/directive]].
 
 There are some global options for the setup file: