X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/cebbb6f482492ba776a1ca542e81a74fb74fbfce..e3b04285cec28cc3ab02270a5697dd7812b93927:/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, },