From 448b5ce5514307dc4e2b6e9625e8dbed077775c6 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 12 Mar 2006 20:18:17 +0000 Subject: [PATCH] web commit normalisation --- ikiwiki | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ikiwiki b/ikiwiki index 67004e413..46140c9ea 100755 --- a/ikiwiki +++ b/ikiwiki @@ -446,6 +446,12 @@ sub rcs_recentchanges ($) { #{{{ $state='body'; } elsif ($state eq 'body' && /$div/) { + if (defined $message[0] && + $message[0]=~/^web commit by (\w+)(.*)/) { + $user="$1 (web)"; + $message[0]=$2; + } + push @ret, { rev => $rev, user => $user, when => $when, message => [@message], pages => [@pages] } if @pages; -- 2.26.2