X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d0bd30824ec9c1f2af04d9e3d9b13473c8fcb9d8..6d98c5290f2542552979e374d8e3dcbef51f31a6:/IkiWiki/Plugin/anonok.pm?ds=inline diff --git a/IkiWiki/Plugin/anonok.pm b/IkiWiki/Plugin/anonok.pm index e61549986..2be983693 100644 --- a/IkiWiki/Plugin/anonok.pm +++ b/IkiWiki/Plugin/anonok.pm @@ -12,11 +12,15 @@ sub import { #{{{ sub getsetup () { #{{{ return + plugin => { + safe => 1, + rebuild => 0, + }, anonok_pagespec => { - type => "string", - default => "", + type => "pagespec", example => "*/discussion", - description => "PageSpec to limit which pages anonymouse users can edit", + description => "PageSpec to limit which pages anonymous users can edit", + link => "ikiwiki/PageSpec", safe => 1, rebuild => 0, },