recentchanges
[ikiwiki.git] / ikiwiki
diff --git a/ikiwiki b/ikiwiki
index 42a0ef3ba935e357d6706fd3da6623d28ff4ba3a..1b282abf938f63f0fa604e245ad877018e7740f2 100755 (executable)
--- a/ikiwiki
+++ b/ikiwiki
@@ -644,9 +644,7 @@ sub cgi () {
                my $list="<ul>\n";
                foreach my $change (rcs_recentchanges(100)) {
                        $list.="<li>";
-                       foreach my $page (@{$change->{pages}}) {
-                               $list.=$page." ";
-                       }
+                       $list.=join(", ", map { htmllink("index", $_) } @{$change->{pages}});
                        $list.="<br>\n";
                        $list.="changed ".$change->{when}." by ".
                               htmllink("index", $change->{user}).