From: Tom Hughes Date: Wed, 18 Jun 2014 18:54:25 +0000 (+0100) Subject: Look for key pages using Template:Feature X-Git-Tag: live~4367 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/3ea2fc48c2508843b926b714e0572d1135b59ef1 Look for key pages using Template:Feature --- diff --git a/script/misc/update-wiki-pages b/script/misc/update-wiki-pages index be69b2c4a..0bef30d03 100755 --- a/script/misc/update-wiki-pages +++ b/script/misc/update-wiki-pages @@ -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;