]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/opendiscussion.pm
turn on tag_autocreate by default if tagbase is set
[git.ikiwiki.info.git] / IkiWiki / Plugin / opendiscussion.pm
index 4b91f5d8314e440920672759d0bc7c2cc394fda0..2805f60efdb6d415a19aeb17195df8ff2543487b 100644 (file)
@@ -16,6 +16,7 @@ sub getsetup () {
                plugin => {
                        safe => 1,
                        rebuild => 0,
+                       section => "auth",
                },
 }
 
@@ -25,6 +26,7 @@ sub canedit ($$) {
        my $session=shift;
 
        return "" if $page=~/(\/|^)\Q$config{discussionpage}\E$/i;
+       return "" if pagespec_match($page, "postcomment(*)");
        return undef;
 }