]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
new bug
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>
Wed, 5 Mar 2014 09:03:39 +0000 (05:03 -0400)
committeradmin <admin@branchable.com>
Wed, 5 Mar 2014 09:03:39 +0000 (05:03 -0400)
doc/bugs/enabling_or_disabling_plugin_x_does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/enabling_or_disabling_plugin_x_does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn b/doc/bugs/enabling_or_disabling_plugin_x_does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn
new file mode 100644 (file)
index 0000000..e7c6cfb
--- /dev/null
@@ -0,0 +1,11 @@
+If you have a page like
+
+    [[!if test="enabled(smileys)" then=":-P"]]
+
+then enabling or disabling the smileys plugin will not rebuild it.
+
+Unfortunately, I can't think of a good way to solve this without
+introducing a special case for `enabled()` in Render.pm, either a
+new dependency type `"enabled(smileys)" => $DEPENDS_ENABLED`
+or a special case that treats `"enabled(smileys)" => $DEPENDS_PRESENCE`
+differently. --[[smcv]]