From fab1333b6704f5ccd502a5a108c4899aeaf5f675 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 4 Jun 2008 00:15:15 -0400 Subject: Filter hooks are no longer called during the scan phase. This will prevent wikilinks added by filters from being scanned properly. But no known filter hook does that, and calling filters unncessarily during scan slowed down complex filters such as the one used to update the xapian index. --- IkiWiki/Render.pm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'IkiWiki') diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index eb01a4227..3422024d1 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -156,10 +156,6 @@ sub scan ($) { #{{{ my $page=pagename($file); will_render($page, htmlpage($page), 1); - # Always needs to be done, since filters might add links - # to the content. - $content=filter($page, $page, $content); - if ($config{discussion}) { # Discussion links are a special case since they're # not in the text of the page, but on its template. -- cgit v1.2.3