From 344ab0a16b749c44d6d19dbe1a179c8e30ceef31 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 31 Jan 2007 07:13:51 +0000 Subject: * Fix for missing backlinks() in pagestats plugin. --- IkiWiki/Plugin/pagestats.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'IkiWiki/Plugin') diff --git a/IkiWiki/Plugin/pagestats.pm b/IkiWiki/Plugin/pagestats.pm index 0958f5af6..79b3292c6 100644 --- a/IkiWiki/Plugin/pagestats.pm +++ b/IkiWiki/Plugin/pagestats.pm @@ -34,6 +34,7 @@ sub preprocess (@) { #{{{ my $max = 0; foreach my $page (keys %links) { if (pagespec_match($page, $params{pages})) { + use IkiWiki::Render; my @bl = IkiWiki::backlinks($page); $counts{$page} = scalar(@bl); $max = $counts{$page} if $counts{$page} > $max; -- cgit v1.2.3