X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/190a845fe1ab44d3947f2ecdc0305a180e21e6f2..7d3047b6d8ead54d13a3d0165c897ded38a93160:/IkiWiki/Plugin/lockedit.pm diff --git a/IkiWiki/Plugin/lockedit.pm b/IkiWiki/Plugin/lockedit.pm index 4e1b4f878..7462de41c 100644 --- a/IkiWiki/Plugin/lockedit.pm +++ b/IkiWiki/Plugin/lockedit.pm @@ -14,12 +14,15 @@ sub import { #{{{ sub getsetup () { #{{{ return + plugin => { + safe => 1, + rebuild => 0, + }, locked_pages => { - type => "string", + 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, },