browser: gather wikimedia data from updated year 2018
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 20 Feb 2018 00:03:22 +0000 (01:03 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 5 Mar 2018 22:51:17 +0000 (23:51 +0100)
Stopgap fix of hardcoded value as a proper solution is yet to be written.

tools/mkusage-wikimedia

index 21ba7531e931c3f649b7fd36fde0e9ba4f8de08f..a4ca1cd1c38048367e48f8474a30e65769710e59 100755 (executable)
@@ -32,7 +32,7 @@ my %count = (
        -site   => 'https://analytics.wikimedia.org/',
 );
 
        -site   => 'https://analytics.wikimedia.org/',
 );
 
-my $recent = qr/^2017-/;
+my $recent = qr/^2018-/;
 
 (readline =~ y/\t//) == 3 or die "unexpected amount of columns in header\n";
 
 
 (readline =~ y/\t//) == 3 or die "unexpected amount of columns in header\n";