From 8b1e67ef67b69117c44004c0d2953cc046366eff Mon Sep 17 00:00:00 2001 From: "http://smcv.pseudorandom.co.uk/" Date: Wed, 5 Mar 2014 05:03:39 -0400 Subject: new bug --- ..._does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/bugs/enabling_or_disabling_plugin_x_does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn (limited to 'doc/bugs/enabling_or_disabling_plugin_x_does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn') 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]] -- cgit v1.2.3