diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-12-12 15:02:40 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-12-12 15:02:40 -0500 |
commit | e9797ee0863855da93c7a98612c984fecc8d1e23 (patch) | |
tree | a9a0c227b5e164737168b4813ba3cdf6dc56b795 /doc | |
parent | 38c92e63bb012da98019faf9bc11037c5cbd5a99 (diff) | |
download | ikiwiki-e9797ee0863855da93c7a98612c984fecc8d1e23.tar ikiwiki-e9797ee0863855da93c7a98612c984fecc8d1e23.tar.gz |
improve documentation of postcomment
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ikiwiki/pagespec.mdwn | 4 | ||||
-rw-r--r-- | doc/plugins/comments.mdwn | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/doc/ikiwiki/pagespec.mdwn b/doc/ikiwiki/pagespec.mdwn index 90b96c936..d4dd265cc 100644 --- a/doc/ikiwiki/pagespec.mdwn +++ b/doc/ikiwiki/pagespec.mdwn @@ -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: diff --git a/doc/plugins/comments.mdwn b/doc/plugins/comments.mdwn index 347d7fc8d..fa263ef40 100644 --- a/doc/plugins/comments.mdwn +++ b/doc/plugins/comments.mdwn @@ -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: |