X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/cebbb6f482492ba776a1ca542e81a74fb74fbfce..e65c7b73af6dcb9f8dc0435f17ea3beeab66f175:/IkiWiki/Plugin/anonok.pm 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, },