aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2014-03-05 05:03:39 -0400
committeradmin <admin@branchable.com>2014-03-05 05:03:39 -0400
commit8b1e67ef67b69117c44004c0d2953cc046366eff (patch)
tree8ca64dae01676e054d00d9c51b126748ae51af06 /doc/bugs
parent3ae5debefca027a9831e887d96f47879173267e8 (diff)
downloadikiwiki-8b1e67ef67b69117c44004c0d2953cc046366eff.tar
ikiwiki-8b1e67ef67b69117c44004c0d2953cc046366eff.tar.gz
new bug
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/enabling_or_disabling_plugin_x_does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn11
1 files changed, 11 insertions, 0 deletions
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
index 000000000..e7c6cfb86
--- /dev/null
+++ b/doc/bugs/enabling_or_disabling_plugin_x_does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn
@@ -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]]