]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/anonok.pm
po(refreshpot): define the input charset before read()'ing
[git.ikiwiki.info.git] / IkiWiki / Plugin / anonok.pm
index d5e409117e947cb202bbe49beb778278ead9a5cc..2be983693d7d2d67f5cbd39a93b19c0885f6cfa6 100644 (file)
@@ -12,12 +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",
-                       description_html => htmllink("", "", "ikiwiki/PageSpec", noimageinline => 1).
-                               " to limit which pages anonymous users can edit",
+                       link => "ikiwiki/PageSpec",
                        safe => 1,
                        rebuild => 0,
                },