- return "<table class='pageStats'>\n".join("\n", map { "<tr><td>$_</td><td>".$counts{$_}."</td></tr>" }
- sort { $counts{$b} <=> $counts{$a} } keys %counts)."\n</table>\n" ;
+ return "<table class='pageStats'>\n".
+ join("\n", map {
+ "<tr><td>".
+ htmllink($params{page}, $params{destpage}, $_, noimageinline => 1).
+ "</td><td>".$counts{$_}."</td></tr>"
+ }
+ sort { $counts{$b} <=> $counts{$a} } keys %counts).
+ "\n</table>\n" ;