aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/pagestats_plugin_broken.mdwn
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-05-12 14:23:31 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-05-12 14:23:31 +0000
commitffae58a97865d24796826f4b4ff9da82aef93116 (patch)
tree6442bae3ab56d4864256d5ee685eb6b6b3ebe5b1 /doc/bugs/pagestats_plugin_broken.mdwn
parent383cc261cdab9663eac67fec264864e513b82e91 (diff)
downloadikiwiki-ffae58a97865d24796826f4b4ff9da82aef93116.tar
ikiwiki-ffae58a97865d24796826f4b4ff9da82aef93116.tar.gz
web commit by hb
Diffstat (limited to 'doc/bugs/pagestats_plugin_broken.mdwn')
-rw-r--r--doc/bugs/pagestats_plugin_broken.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/bugs/pagestats_plugin_broken.mdwn b/doc/bugs/pagestats_plugin_broken.mdwn
new file mode 100644
index 000000000..12eb1a50e
--- /dev/null
+++ b/doc/bugs/pagestats_plugin_broken.mdwn
@@ -0,0 +1,13 @@
+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.
+This is also (of course) producing flat tag cloud.
+
+My perl knowledge is very limited, but the call :
+
+ my @bl = IkiWiki::backlinks($page);
+ $counts{$page} = scalar(@bl);
+
+return allways 2, which seems to me "obvious", because the backlinks() function is returning two array of links...
+
+Did I forget something ?
+
+--[hb] \ No newline at end of file