]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* Fix for missing backlinks() in pagestats plugin.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 31 Jan 2007 07:13:51 +0000 (07:13 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 31 Jan 2007 07:13:51 +0000 (07:13 +0000)
IkiWiki/Plugin/pagestats.pm
debian/changelog

index 0958f5af6f173e673aa25f0109c0e80ee91aa08a..79b3292c6c7a67f0007a65a6bf8a435ae3671b11 100644 (file)
@@ -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;
index b6c696960f8cc4c55915d339646064fcf9abacb1..ffc86cb8013532c3025a7fc9e8aaf60f1982d201 100644 (file)
@@ -1,8 +1,9 @@
 ikiwiki (1.42) UNRELEASED; urgency=low
 
   * Fix one more missing translation of Discussion.
+  * Fix for missing backlinks() in pagestats plugin.
 
- -- Joey Hess <joeyh@debian.org>  Wed, 31 Jan 2007 02:08:57 -0500
+ -- Joey Hess <joeyh@debian.org>  Wed, 31 Jan 2007 02:12:01 -0500
 
 ikiwiki (1.41) unstable; urgency=low