]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/anonok.pm
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[git.ikiwiki.info.git] / IkiWiki / Plugin / anonok.pm
index e615499863a7c119143f3953775d7103c0dad203..2be983693d7d2d67f5cbd39a93b19c0885f6cfa6 100644 (file)
@@ -12,11 +12,15 @@ sub import { #{{{
 
 sub getsetup () { #{{{
        return
 
 sub getsetup () { #{{{
        return
+               plugin => {
+                       safe => 1,
+                       rebuild => 0,
+               },
                anonok_pagespec => {
                anonok_pagespec => {
-                       type => "string",
-                       default => "",
+                       type => "pagespec",
                        example => "*/discussion",
                        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,
                },
                        safe => 1,
                        rebuild => 0,
                },