repoint git branches and website
[ikiwiki] / doc / bugs / inline_plugin_sets_editurl_even_when_editpage_is_disabled.html
1 see subject, simple patch below
2 <pre>
3 --- a/IkiWiki/Plugin/inline.pm
4 +++ b/IkiWiki/Plugin/inline.pm
5 @@ -371,7 +371,8 @@ sub preprocess_inline (@) {
6           }
7           if (length $config{cgiurl} && defined $type) {
8             $template->param(have_actions => 1);
9 -           $template->param(editurl => cgiurl(do => "edit", page => $page));
10 +           $template->param(editurl => cgiurl(do => "edit", page => $page))
11 +             if IkiWiki->can("cgi_editpage");
12           }
13         }
14 </pre>
15
16 [[done]] --[[Joey]]