]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/recentchanges.pm
use template() rather than rolling it by hand
[git.ikiwiki.info.git] / IkiWiki / Plugin / recentchanges.pm
index 329dd6f3255f278a81322a87a7d2c2ca6ebec2e8..5c7b71aaa64bd02e310b6c5428224ce68ba0679a 100644 (file)
@@ -123,8 +123,8 @@ sub store ($$$) {
        }
        elsif (length $config{cgiurl}) {
                $change->{authorurl} = IkiWiki::cgiurl(
-                       do => "recentchanges_link",
-                       page => (length $config{userdir} ? "$config{userdir}/" : "").$change->{author},
+                       do => "goto",
+                       page => IkiWiki::userpage($change->{author}),
                );
        }