modifiation : active anonok
authorJulien Moutinho <julm@cyclocoop.org>
Mon, 24 Mar 2014 15:37:46 +0000 (16:37 +0100)
committerJulien Moutinho <julm@cyclocoop.org>
Mon, 24 Mar 2014 15:37:46 +0000 (16:37 +0100)
ikiwiki.setup

index 65b2376..d08a231 100644 (file)
@@ -49,6 +49,7 @@ BEGIN {
         , add_plugins => [qw{
                 404
                 action
+                anonok
                 attachment
                 brokenlinks
                 calendar
@@ -99,7 +100,7 @@ BEGIN {
         # '(mimetype(image/*) and maxsize(100kb)) or
         #  (mimetype(application/pdf) and maxsize(2mb))'
         #, allowrss => 0
-        #, anonok_pagespec => '*/Discussion or SandBox'
+        , anonok_pagespec => 'postcomment(*)'
         #, archive_pagespec => 'posts/* and !*/Discussion'
         , archive_pagespec => '!*'
         , archivebase => undef
@@ -126,19 +127,18 @@ BEGIN {
         #, cgi_wrappermode => '02750'
         , cgiauthurl => $urls.'cgi/ikiwiki.cgi'
         , cgiurl => $url.'cgi/ikiwiki.cgi'
-        , comments_allowauthor => 0
+        , comments_allowauthor => 1
         , comments_allowdirectives => 0
-        , comments_closed_pagespec => 'blog/controversial or blog/flamewar'
+        , comments_closed_pagespec => 'index or blog/controversial or blog/flamewar'
         , comments_commit => 1
         , comments_pagename => 'comment_'
-        , comments_pagespec => 'blog/* and !*/Discussion'
+        , comments_pagespec => '(Agenda/* or vĂ©lo/*) and !*/Discussion'
         , default_file => 'default.mdwn'
         , default_pageext => 'mdwn'
         , destdir => $destdir
         , diffurl => "/gitweb/?p=cyclowiki.git;a=blobdiff;f=[[file]];h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_commit]];hpb=[[sha1_parent]]"
         #, directive_description_dir => 'ikiwiki/directive'
         , disable_plugins => [qw{
-                anonok
                 headinganchors
                 httpauth
                 lockedit