]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/anonok.pm
po plugin: implement linking specification in one of the main cases
[git.ikiwiki.info.git] / IkiWiki / Plugin / anonok.pm
index 7b966f845338775cb07cc317af7c1b27ca6e811c..2be983693d7d2d67f5cbd39a93b19c0885f6cfa6 100644 (file)
@@ -12,10 +12,15 @@ sub import { #{{{
 
 sub getsetup () { #{{{
        return
+               plugin => {
+                       safe => 1,
+                       rebuild => 0,
+               },
                anonok_pagespec => {
-                       type => "string",
+                       type => "pagespec",
                        example => "*/discussion",
                        description => "PageSpec to limit which pages anonymous users can edit",
+                       link => "ikiwiki/PageSpec",
                        safe => 1,
                        rebuild => 0,
                },