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