]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/enabling_or_disabling_plugin_x_does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn
unit tests available
[ikiwiki.git] / doc / bugs / enabling_or_disabling_plugin_x_does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn
1 If you have a page like
2
3     \[[!if test="enabled(smileys)" then=":-P"]]
4
5 then enabling or disabling the smileys plugin will not rebuild it.
6
7 Unfortunately, I can't think of a good way to solve this without
8 introducing a special case for `enabled()` in Render.pm, either a
9 new dependency type `"enabled(smileys)" => $DEPENDS_ENABLED`
10 or a special case that treats `"enabled(smileys)" => $DEPENDS_PRESENCE`
11 differently. --[[smcv]]