2 package IkiWiki::Plugin::opendiscussion;
9 hook(type => "getsetup", id => "opendiscussion", call => \&getsetup);
10 hook(type => "canedit", id => "opendiscussion", call => \&canedit,
27 return "" if $page=~/(\/|^)\Q$config{discussionpage}\E$/i;
28 return "" if pagespec_match($page, "postcomment(*)");