From 299bb8bef3811b16d29a0e8ebb2c292c8dd11020 Mon Sep 17 00:00:00 2001 From: joey Date: Sat, 29 Jul 2006 20:14:07 +0000 Subject: more links --- IkiWiki/Plugin/pagestats.pm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'IkiWiki/Plugin') diff --git a/IkiWiki/Plugin/pagestats.pm b/IkiWiki/Plugin/pagestats.pm index 86ebbe1d5..1d4d5ecdf 100644 --- a/IkiWiki/Plugin/pagestats.pm +++ b/IkiWiki/Plugin/pagestats.pm @@ -42,8 +42,14 @@ sub preprocess (@) { #{{{ } if ($style eq 'table') { - return "\n".join("\n", map { "" } - sort { $counts{$b} <=> $counts{$a} } keys %counts)."\n
$_".$counts{$_}."
\n" ; + return "\n". + join("\n", map { + "" + } + sort { $counts{$b} <=> $counts{$a} } keys %counts). + "\n
". + IkiWiki::htmllink($params{page}, $params{destpage}, $_, 1). + "".$counts{$_}."
\n" ; } else { # In case of misspelling, default to a page cloud -- cgit v1.2.3