]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/recentchanges.pm
(no commit message)
[git.ikiwiki.info.git] / IkiWiki / Plugin / recentchanges.pm
index 56e80e7b815954e8a42c32bc284a03a62e94e327..fa851e46678f208efa04def72e988366df6ea87d 100644 (file)
@@ -13,6 +13,8 @@ sub import {
        hook(type => "refresh", id => "recentchanges", call => \&refresh);
        hook(type => "pagetemplate", id => "recentchanges", call => \&pagetemplate);
        hook(type => "htmlize", id => "_change", call => \&htmlize);
+       # Load goto to fix up links from recentchanges
+       IkiWiki::loadplugin("goto");
 }
 
 sub getsetup () {
@@ -121,7 +123,7 @@ sub store ($$$) {
        }
        elsif (length $config{cgiurl}) {
                $change->{authorurl} = IkiWiki::cgiurl(
-                       do => "recentchanges_link",
+                       do => "goto",
                        page => (length $config{userdir} ? "$config{userdir}/" : "").$change->{author},
                );
        }