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