improve documentation of postcomment
parent
38c92e63bb
commit
e9797ee086
|
@ -47,8 +47,8 @@ Some more elaborate limits can be added to what matches using these functions:
|
||||||
wiki admins.
|
wiki admins.
|
||||||
* "`ip(address)`" - tests whether a modification is being made from the
|
* "`ip(address)`" - tests whether a modification is being made from the
|
||||||
specified IP address.
|
specified IP address.
|
||||||
* "`postcomment(glob)`" - matches internal-use pages created by the
|
* "`postcomment(glob)`" - matches only when comments are being
|
||||||
comments plugin as comments for pages that match the specified glob.
|
posted to a page matching the specified glob
|
||||||
|
|
||||||
For example, to match all pages in a blog that link to the page about music
|
For example, to match all pages in a blog that link to the page about music
|
||||||
and were written in 2005:
|
and were written in 2005:
|
||||||
|
|
|
@ -19,8 +19,7 @@ users can only post comments.
|
||||||
|
|
||||||
Individual comments are stored as internal-use pages named something like
|
Individual comments are stored as internal-use pages named something like
|
||||||
`page/comment_1`, `page/comment_2`, etc. These pages internally use a
|
`page/comment_1`, `page/comment_2`, etc. These pages internally use a
|
||||||
`\[[!_comment]]` [[ikiwiki/directive]], and comment pages can be matched
|
`\[[!_comment]]` [[ikiwiki/directive]].
|
||||||
using a special `postcomment()` [[ikiwiki/PageSpec]].
|
|
||||||
|
|
||||||
There are some global options for the setup file:
|
There are some global options for the setup file:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue