X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ce404d1afba755ca09ffb62b5d649259da503d4e..ad3ca54e286d8bb733afb96b64d421c07faa358b:/script/misc/update-wiki-pages diff --git a/script/misc/update-wiki-pages b/script/misc/update-wiki-pages index be69b2c4a..84e1e8a1c 100755 --- a/script/misc/update-wiki-pages +++ b/script/misc/update-wiki-pages @@ -50,7 +50,7 @@ help() unless -f $out_file; # Get a API interface my $mw = MediaWiki::API->new(); ok($mw, "Got a MediaWiki API"); -$mw->{config}->{api_url} = 'http://wiki.openstreetmap.org/w/api.php'; +$mw->{config}->{api_url} = 'https://wiki.openstreetmap.org/w/api.php'; # All our goodies my (%feature, %count); @@ -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;