]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/edittemplate.pm
po: compute internal links from a slave page relative to its master page
[git.ikiwiki.info.git] / IkiWiki / Plugin / edittemplate.pm
index 84c28a9d0dc58887a3f4ce1848eb542e8f897014..846b4e7c832c499a0755860b2c277b282a2b2f1d 100644 (file)
@@ -54,7 +54,7 @@ sub preprocess (@) { #{{{
                error gettext("match not specified")
        }
 
                error gettext("match not specified")
        }
 
-       my $link=IkiWiki::linkpage($params{template});
+       my $link=linkpage($params{template});
        $pagestate{$params{page}}{edittemplate}{$params{match}}=$link;
 
        return "" if ($params{silent} && IkiWiki::yesno($params{silent}));
        $pagestate{$params{page}}{edittemplate}{$params{match}}=$link;
 
        return "" if ($params{silent} && IkiWiki::yesno($params{silent}));