Browse Source

build-scripts/wikiheaders.pl: ignore "Category" wiki pages.

Ryan C. Gordon 3 years ago
parent
commit
83b766174c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      build-scripts/wikiheaders.pl

+ 3 - 0
build-scripts/wikiheaders.pl

@@ -597,6 +597,9 @@ while (readdir(DH)) {
         next;  # only dealing with wiki pages.
         next;  # only dealing with wiki pages.
     }
     }
 
 
+    # Ignore "Category*" pages.
+    next if ($dent =~ /\ACategory/);
+
     open(FH, '<', "$wikipath/$dent") or die("Can't open '$wikipath/$dent': $!\n");
     open(FH, '<', "$wikipath/$dent") or die("Can't open '$wikipath/$dent': $!\n");
 
 
     my $current_section = '[start]';
     my $current_section = '[start]';