projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a771728
)
recentchanges
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 11 Mar 2006 03:47:32 +0000
(
03:47
+0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 11 Mar 2006 03:47:32 +0000
(
03:47
+0000)
ikiwiki
patch
|
blob
|
history
diff --git
a/ikiwiki
b/ikiwiki
index debf43a54c764bd7af929f814bd64dc9a8f1e31e..643f0a05451135f37e25726d03a5f431e68aee9e 100755
(executable)
--- a/
ikiwiki
+++ b/
ikiwiki
@@
-402,7
+402,7
@@
sub rcs_recentchanges ($) {
push @ret, {rev => $rev, user => $user,
date => $when, message => $message,
pages => [@pages]},
-
las
t if @ret >= $num;
+
return @re
t if @ret >= $num;
$state='header';
$message=$rev=$user=$when=undef;
@@
-640,6
+640,7
@@
sub cgi () {
if ($do eq 'recentchanges') {
my $list="<ul>\n";
foreach my $change (rcs_recentchanges(100)) {
+ print STDERR "change: $change....\n";
$list.="<li>";
foreach my $page (@{$change->{pages}}) {
$list.=$page." ";