}
my $result=0;
- if (! IkiWiki::yesno($params{all}) ||
+ if ((exists $params{all} && ! IkiWiki::yesno($params{all})) ||
# An optimisation to avoid needless looping over every page
# for simple uses of some of the tests.
$params{test} =~ /^([\s\!()]*((enabled|sourcepage|destpage|included)\([^)]*\)|(and|or))[\s\!()]*)+$/) {
shown on a page.
* Enable calendar and sidebar in auto-blog.setup.
* sidebar: Add global_sidebars setting.
+ * conditional: Fix bug that forced "all" mode off by default.
-- Joey Hess <joeyh@debian.org> Sun, 04 Apr 2010 12:17:11 -0400