]> git.openstreetmap.org Git - rails.git/commitdiff
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 be69b2c4a8068aceae913a0873d257412315c9c9..0bef30d03f113de844f19e0b4f3bc2d860db6480 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;