aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/enabling_or_disabling_plugin_x_does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn
blob: 4b4adb2c6e96de47d2498e6640a76d656890866c (plain)
1
2
3
4
5
6
7
8
9
10
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]]