error gettext("unknown formula");
}
- add_depends($params{page}, $params{pages});
+ add_depends($params{page}, $params{pages}, content => 0);
my @list=sort { $params{timehash}->{$b} <=> $params{timehash}->{$a} }
pagespec_match_list(
$fill.="%";
}
elsif (defined $params{totalpages} and defined $params{donepages}) {
- add_depends($params{page}, $params{totalpages});
- add_depends($params{page}, $params{donepages});
+ add_depends($params{page}, $params{totalpages}, content => 0);
+ add_depends($params{page}, $params{donepages}, content => 0);
my @pages=keys %pagesources;
my $totalcount=0;
* Added support framework for multiple types of dependencies.
* Allow declaring that a dependency does not encompass the content of a
page. (By passing content => 0 to add_depends.)
- * pagecount, calendar: Use a contentless dependency, which makes these
- directives much less expensive to use, since page edits will
- no longer trigger an unnecessary update.
+ * pagecount, calendar, postsparkline, progress: Use a contentless dependency,
+ which makes these directives much less expensive to use, since page
+ edits will no longer trigger an unnecessary update.
* map: Use a contentless dependency unless show= is specified.
This makes simple maps efficient enough that they can be used on sidebars!
* inline: Use a contentless dependency in quick mode.