]> sipb.mit.edu Git - ikiwiki.git/blobdiff - t/linkify.t
web commit by JoshTriplett: XPath conditionals?
[ikiwiki.git] / t / linkify.t
index 1b297433a57e4ccc146da35ad9dc9d4c1fc3788e..d9c4c0474f04f2128f8eaa7bb73c35c1860530a4 100755 (executable)
@@ -20,9 +20,12 @@ sub linkify ($$$$) {
                $IkiWiki::pagecase{lc $page}=$page;
                $links{$page}=[];
                $renderedfiles{"$page.mdwn"}=[$page];
+               $destsources{$page}="$page.mdwn";
        }
        %config=IkiWiki::defaultconfig();
        $config{cgiurl}="http://somehost/ikiwiki.cgi";
+       # currently coded for non usedirs mode (TODO: check both)
+       $config{usedirs}=0;
 
        return IkiWiki::linkify($lpage, $page, $content);
 }