Parcourir la source

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

Ryan C. Gordon il y a 3 ans
Parent
commit
83b766174c
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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.
     }
 
+    # Ignore "Category*" pages.
+    next if ($dent =~ /\ACategory/);
+
     open(FH, '<', "$wikipath/$dent") or die("Can't open '$wikipath/$dent': $!\n");
 
     my $current_section = '[start]';