X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/8b31c53366bbee51b36501443eafd0f712ee6a4c..cddc335b2bd98a302b261200c12d61b05476d727:/IkiWiki/Plugin/recentchanges.pm diff --git a/IkiWiki/Plugin/recentchanges.pm b/IkiWiki/Plugin/recentchanges.pm index f5982604b..5ac0a30ef 100644 --- a/IkiWiki/Plugin/recentchanges.pm +++ b/IkiWiki/Plugin/recentchanges.pm @@ -60,12 +60,15 @@ sub store ($$$) { #{{{ else { $_->{link} = IkiWiki::pagetitle($_->{page}); } + $_->{baseurl}="$config{url}/" if length $config{url}; + $_; } @{$change->{pages}} ]; push @{$change->{pages}}, { link => '...' } if $is_excess; # See if the committer is an openid. + $change->{author}=$change->{user}; my $oiduser=IkiWiki::openiduser($change->{user}); if (defined $oiduser) { $change->{authorurl}=$change->{user}; @@ -93,7 +96,6 @@ sub store ($$$) { #{{{ commitdate => displaytime($change->{when}, "%X %x"), wikiname => $config{wikiname}, ); - $template->param(baseurl => "$config{url}/") if length $config{url}; IkiWiki::run_hooks(pagetemplate => sub { shift->(page => $page, destpage => $page, template => $template); });