]> scripts.mit.edu Git - www/ikiwiki.git/blob - doc/bugs/pagestats_plugin_broken.mdwn
web commit by hb: typo
[www/ikiwiki.git] / doc / bugs / pagestats_plugin_broken.mdwn
1 Since at least version 2.0 (and certainly a few version before), it seems that the pagestats plugin is broken : each matched page has a count of 2.
2 This is also (of course) producing flat tag cloud.
3
4 My perl knowledge is very limited, but the call :
5
6     my @bl = IkiWiki::backlinks($page);
7     $counts{$page} = scalar(@bl);
8
9 return allways 2, which seems to me "obvious", because the backlinks() function is returning two array of links...
10
11 Did I forget something ?
12
13 --[[users/hb]]