recentchanges
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 11 Mar 2006 04:29:41 +0000 (04:29 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 11 Mar 2006 04:29:41 +0000 (04:29 +0000)
ikiwiki

diff --git a/ikiwiki b/ikiwiki
index 778ee47c97e76eafc8a88e4345cc361068a3b079..f4dc6f410d2c05302153b3627e922dfc9d513368 100755 (executable)
--- a/ikiwiki
+++ b/ikiwiki
@@ -398,7 +398,7 @@ sub rcs_recentchanges ($) {
                                $when=concise(ago(time - str2time($3)));
                        }
                        elsif ($state eq 'header' && /^\s+[A-Z]\s+\Q$svn_base\E\/(.+)$/) {
-                               push @pages, $1;
+                               push @pages, exists $sourcepages{$1} ? $sourcepages{$1} : $1;
                        }
                        elsif ($state eq 'header' && /^$/) {
                                $state='body';