]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/lockedit.pm
rename, remove: Don't rely on a form parameter to tell whether the page should be...
[ikiwiki.git] / IkiWiki / Plugin / lockedit.pm
index 93a5256770981c20d2ac27127c128ad9440d5b04..7462de41c73851346403e408eb9d53cbf861fe01 100644 (file)
@@ -14,12 +14,15 @@ sub import { #{{{
 
 sub getsetup () { #{{{
        return
+               plugin => {
+                       safe => 1,
+                       rebuild => 0,
+               },
                locked_pages => {
                        type => "pagespec",
                        example => "!*/Discussion",
                        description => "PageSpec controlling which pages are locked",
-                       description_html => htmllink("", "", "ikiwiki/PageSpec", noimageinline => 1).
-                               " controlling which pages are locked",
+                       link => "ikiwiki/PageSpec",
                        safe => 1,
                        rebuild => 0,
                },