* Fix for missing backlinks() in pagestats plugin.
parent
2dc010d66a
commit
344ab0a16b
|
@ -34,6 +34,7 @@ sub preprocess (@) { #{{{
|
||||||
my $max = 0;
|
my $max = 0;
|
||||||
foreach my $page (keys %links) {
|
foreach my $page (keys %links) {
|
||||||
if (pagespec_match($page, $params{pages})) {
|
if (pagespec_match($page, $params{pages})) {
|
||||||
|
use IkiWiki::Render;
|
||||||
my @bl = IkiWiki::backlinks($page);
|
my @bl = IkiWiki::backlinks($page);
|
||||||
$counts{$page} = scalar(@bl);
|
$counts{$page} = scalar(@bl);
|
||||||
$max = $counts{$page} if $counts{$page} > $max;
|
$max = $counts{$page} if $counts{$page} > $max;
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
ikiwiki (1.42) UNRELEASED; urgency=low
|
ikiwiki (1.42) UNRELEASED; urgency=low
|
||||||
|
|
||||||
* Fix one more missing translation of Discussion.
|
* 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
|
ikiwiki (1.41) unstable; urgency=low
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue