aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorSjoerd <Sjoerd@web>2010-01-03 21:37:37 +0000
committerJoey Hess <joey@finch.kitenet.net>2010-01-03 21:37:37 +0000
commit0fae8d8b69ab191f98608f1dad224a6c6f99d858 (patch)
tree621d4ef27c00691270fcd6d5a916771a9f268840 /doc/bugs
parent2ffa1a31ba0c3009ee5e1c158ba6b455d4cc7e9c (diff)
downloadikiwiki-0fae8d8b69ab191f98608f1dad224a6c6f99d858.tar
ikiwiki-0fae8d8b69ab191f98608f1dad224a6c6f99d858.tar.gz
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/inline_plugin_sets_editurl_even_when_editpage_is_disabled.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/bugs/inline_plugin_sets_editurl_even_when_editpage_is_disabled.html b/doc/bugs/inline_plugin_sets_editurl_even_when_editpage_is_disabled.html
new file mode 100644
index 000000000..e4e37b34a
--- /dev/null
+++ b/doc/bugs/inline_plugin_sets_editurl_even_when_editpage_is_disabled.html
@@ -0,0 +1,14 @@
+see subject, simple patch below
+<pre>
+--- a/IkiWiki/Plugin/inline.pm
++++ b/IkiWiki/Plugin/inline.pm
+@@ -371,7 +371,8 @@ sub preprocess_inline (@) {
+ }
+ if (length $config{cgiurl} && defined $type) {
+ $template->param(have_actions => 1);
+- $template->param(editurl => cgiurl(do => "edit", page => $page));
++ $template->param(editurl => cgiurl(do => "edit", page => $page))
++ if IkiWiki->can("cgi_editpage");
+ }
+ }
+</pre>