2 package IkiWiki::Plugin::opendiscussion;
9 hook(type => "getsetup", id => "opendiscussion", call => \&getsetup);
10 hook(type => "canedit", id => "opendiscussion", call => \&canedit);
26 my $discussion=lc(gettext("Discussion"));
27 return "" if $page=~/(\/|^)\Q$discussion\E$/;