2 package IkiWiki::Plugin::anonok;
9 hook(type => "getsetup", id => "anonok", call => \&getsetup);
10 hook(type => "canedit", id => "anonok", call => \&canedit);
22 example => "*/discussion",
23 description => "PageSpec to limit which pages anonymous users can edit",
24 link => "ikiwiki/PageSpec",
37 if (exists $config{anonok_pagespec} && length $config{anonok_pagespec}) {
38 if (pagespec_match($page, $config{anonok_pagespec},