inline: Use a contentless dependency in quick mode.

master
Joey Hess 2009-10-04 16:03:01 -04:00
parent da5c12e9eb
commit e529c561f5
2 changed files with 4 additions and 4 deletions

View File

@ -197,7 +197,7 @@ sub preprocess_inline (@) {
split ' ', $params{pagenames};
}
else {
add_depends($params{page}, $params{pages});
add_depends($params{page}, $params{pages}, content => ! $quick);
@list = pagespec_match_list(
[ grep { $_ ne $params{page} } keys %pagesources ],
@ -248,10 +248,9 @@ sub preprocess_inline (@) {
}
# Explicitly add all currently displayed pages as dependencies, so
# that if they are removed or otherwise changed, the inline will be
# sure to be updated.
# that if they are removed, the inline will be sure to be updated.
foreach my $p ($#list >= $#feedlist ? @list : @feedlist) {
add_depends($params{page}, $p);
add_depends($params{page}, $p, content => ! $quick);
}
if ($feeds && exists $params{feedpages}) {

1
debian/changelog vendored
View File

@ -18,6 +18,7 @@ ikiwiki (3.14159266) UNRELEASED; urgency=low
no longer trigger an unnecessary update of the page count.
* 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.
-- Joey Hess <joeyh@debian.org> Sun, 27 Sep 2009 17:40:03 -0400