diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-01-31 07:13:51 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-01-31 07:13:51 +0000 |
commit | 344ab0a16b749c44d6d19dbe1a179c8e30ceef31 (patch) | |
tree | 7c25ec0b4bb2747036597a8b50bca9f8b28317f8 /IkiWiki | |
parent | 2dc010d66a4e29071100910a2d888895cb74bb11 (diff) | |
download | ikiwiki-344ab0a16b749c44d6d19dbe1a179c8e30ceef31.tar ikiwiki-344ab0a16b749c44d6d19dbe1a179c8e30ceef31.tar.gz |
* Fix for missing backlinks() in pagestats plugin.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/pagestats.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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; |