use pagesources rather than renderedfiles to get the list of pages
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 10 Apr 2007 00:51:43 +0000 (00:51 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 10 Apr 2007 00:51:43 +0000 (00:51 +0000)
IkiWiki/Plugin/orphans.pm

index f221954b807fedf1eb8612ab13a5a333702dbfe3..65d5e3e9ba503327bbd8e1404a7080b2c85aa1b4 100644 (file)
@@ -26,7 +26,7 @@ sub preprocess (@) { #{{{
        
        my @orphans;
        my $discussion=gettext("discussion");
-       foreach my $page (keys %renderedfiles) {
+       foreach my $page (keys %pagesources) {
                next if $linkedto{$page};
                next unless pagespec_match($page, $params{pages}, $params{page});
                # If the page has a link to some other page, it's