Fix documentation of anonok_pagespec. Closes: #521793
parent
06dc69946f
commit
7bbe9cf94d
|
@ -10,6 +10,7 @@ ikiwiki (3.09) UNRELEASED; urgency=low
|
||||||
* comments: Fix too loose test for comments pages that matched
|
* comments: Fix too loose test for comments pages that matched
|
||||||
normal pages with "comment_" in their name. Closes: #521322
|
normal pages with "comment_" in their name. Closes: #521322
|
||||||
* comments: Fix anchor ids to be legal xhtml. Closes: #521339
|
* comments: Fix anchor ids to be legal xhtml. Closes: #521339
|
||||||
|
* Fix documentation of anonok_pagespec. Closes: #521793
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Thu, 19 Mar 2009 15:32:49 -0400
|
-- Joey Hess <joeyh@debian.org> Thu, 19 Mar 2009 15:32:49 -0400
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ By default, anonymous users cannot edit the wiki. This plugin allows
|
||||||
anonymous web users, who have not signed in, to edit any page in the wiki
|
anonymous web users, who have not signed in, to edit any page in the wiki
|
||||||
by default.
|
by default.
|
||||||
|
|
||||||
The plugin also has a configuration setting, `anonok_pages`. This
|
The plugin also has a configuration setting, `anonok_pagespec`. This
|
||||||
[[PageSpec]] can be used to allow anonymous editing of matching pages.
|
[[PageSpec]] can be used to allow anonymous editing of matching pages.
|
||||||
|
|
||||||
If you're using the [[comments]] plugin, you can allow anonymous comments
|
If you're using the [[comments]] plugin, you can allow anonymous comments
|
||||||
to be posted by setting:
|
to be posted by setting:
|
||||||
|
|
||||||
anonok_pages => "postcomment(*)"
|
anonok_pagespec => "postcomment(*)"
|
||||||
|
|
|
@ -60,7 +60,7 @@ spam problems. So, use `check_canedit` as at least a first-level check?
|
||||||
> have postcomment(blog/*) or something. (Perhaps instead of taking a glob, postcomment
|
> have postcomment(blog/*) or something. (Perhaps instead of taking a glob, postcomment
|
||||||
> should take a pagespec, so you can have postcomment(link(tags/commentable))?)
|
> should take a pagespec, so you can have postcomment(link(tags/commentable))?)
|
||||||
>
|
>
|
||||||
> This is why `anonok_pages => 'postcomment(*)'` and `locked_pages => '!postcomment(*)'`
|
> This is why `anonok_pagespec => 'postcomment(*)'` and `locked_pages => '!postcomment(*)'`
|
||||||
> are necessary to allow anonymous and logged-in editing (respectively).
|
> are necessary to allow anonymous and logged-in editing (respectively).
|
||||||
>
|
>
|
||||||
>> I changed that to move the flag out of the page name, and into a variable that the `match_postcomment`
|
>> I changed that to move the flag out of the page name, and into a variable that the `match_postcomment`
|
||||||
|
|
Loading…
Reference in New Issue