change to the backlinks() function.
if (pagespec_match($page, $params{pages}, location => $params{page})) {
use IkiWiki::Render;
my @bl = IkiWiki::backlinks($page);
- $counts{$page} = scalar(@bl);
+ $counts{$page} = scalar(@{$bl[0]})+scalar(@{$bl[1]});
$max = $counts{$page} if $counts{$page} > $max;
}
}
inconsistencies.
* Allow WIKINAME to to used in footers, as an example of something to put
there.
+ * Patch from hb to fix the pagestats plugin, which was broken by a past
+ change to the backlinks() function.
- -- Joey Hess <joeyh@debian.org> Fri, 11 May 2007 15:35:12 -0400
+ -- Joey Hess <joeyh@debian.org> Sat, 12 May 2007 13:55:19 -0400
ikiwiki (2.00) unstable; urgency=low
---[[users/hb]]
\ No newline at end of file
+--[[users/hb]]
+
+thanks, [[done]] --[[Joey]]