1 This plugin not only locks pages but ensures too a user is logged in. This seems to me redundant with signedit. I propose :
8 my $user=$session->param("name");
9 return undef if defined $user && IkiWiki::is_admin($user);
11 if (defined $config{locked_pages} && length $config{locked_pages} &&
12 pagespec_match($page, $config{locked_pages},
13 user => $session->param("name"),
14 ip => $ENV{REMOTE_ADDR},
16 return sprintf(gettext("%s is locked and cannot be edited"),
17 htmllink("", "", $page, noimageinline => 1));