]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Fix documentation of anonok_pagespec. Closes: #521793
authorJoey Hess <joey@gnu.kitenet.net>
Mon, 30 Mar 2009 17:07:50 +0000 (13:07 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Mon, 30 Mar 2009 17:07:50 +0000 (13:07 -0400)
debian/changelog
doc/plugins/anonok.mdwn
doc/plugins/comments/discussion.mdwn

index 158db9a4d89f81163d80df37625908fee9b35ff6..581a3bf334588da7da87ea149f8c711404df88e7 100644 (file)
@@ -10,6 +10,7 @@ ikiwiki (3.09) UNRELEASED; urgency=low
   * comments: Fix too loose test for comments pages that matched
     normal pages with "comment_" in their name. Closes: #521322
   * comments: Fix anchor ids to be legal xhtml. Closes: #521339
   * comments: Fix too loose test for comments pages that matched
     normal pages with "comment_" in their name. Closes: #521322
   * 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
 
index ab2f744e2785eb59166a4960465b8e9372cdeec5..a3fec4d8990d8bb72afd6ea155e3a3d0c66d839e 100644 (file)
@@ -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
 by default.
 
 anonymous web users, who have not signed in, to edit any page in the wiki
 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.
 
 If you're using the [[comments]] plugin, you can allow anonymous comments
 to be posted by setting:
 
 [[PageSpec]] can be used to allow anonymous editing of matching pages.
 
 If you're using the [[comments]] plugin, you can allow anonymous comments
 to be posted by setting:
 
-       anonok_pages => "postcomment(*)"
+       anonok_pagespec => "postcomment(*)"
index 2a87a3d935e2bacb521bedd2984333e808df0944..3d7452b9a87698b54b02b76de7641a62e1cf1c05 100644 (file)
@@ -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
 > should take a pagespec, so you can have postcomment(link(tags/commentable))?)
 >
 > have postcomment(blog/*) or something. (Perhaps instead of taking a glob, postcomment
 > 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).
 >
 >> I changed that to move the flag out of the page name, and into a variable that the `match_postcomment`
 > 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`