Look for key pages using Template:Feature
authorTom Hughes <tom@compton.nu>
Wed, 18 Jun 2014 18:54:25 +0000 (19:54 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 18 Jun 2014 18:54:25 +0000 (19:54 +0100)
script/misc/update-wiki-pages

index be69b2c..0bef30d 100755 (executable)
@@ -63,6 +63,7 @@ for my $lang ('', map { "${_}:" } qw[ Pt Fi De It HU Cz Fr RU Pl ]) {
     # Key pages
     ok(1, "    Getting key pages");
     my $cnt = stick_content_in_hash("key", "Template:${lang}KeyDescription", \%feature);
+    $cnt += stick_content_in_hash("key", "Template:${lang}Feature", \%feature);
     ok(1, "    Got $cnt key pages");
     $count{key} += $cnt;