From: http://smcv.pseudorandom.co.uk/ Date: Wed, 5 Mar 2014 09:03:39 +0000 (-0400) Subject: new bug X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/8b1e67ef67b69117c44004c0d2953cc046366eff new bug --- 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]]