Author: earle
Date: 2008-01-22 16:53:31 +0000 (Tue, 22 Jan 2008)
New Revision: 1142
Modified:
trunk/wiki.cgi
Log:
Change comments show up in user stats too - add link parsing.
Modified: trunk/wiki.cgi
===================================================================
--- trunk/wiki.cgi 2008-01-22 16:38:24 UTC (rev 1141)
+++ trunk/wiki.cgi 2008-01-22 16:53:31 UTC (rev 1142)
@@ -267,7 +267,10 @@
my @nodes = $wiki->list_recent_changes( %criteria );
@nodes = map { {name => $q->escapeHTML($_->{name}),
last_modified => $q->escapeHTML($_->{last_modified}),
- comment => $q->escapeHTML($_->{metadata}{comment}[0]),
+ comment => OpenGuides::Utils::parse_change_comment(
+ $q->escapeHTML($_->{metadata}{comment}[0]),
+ $script_url . '?',
+ ),
url => "$script_name?"
. $q->escape($formatter->node_name_to_node_param($_->{name})) }
} @nodes;