browser: rename usage metadata keys
[sheet.git] / tools / convert-stats-wikimedia.pl
index 5c6a8bf32770c50977104cf2a53af3157e1d38ae..382fe0c122cbde51ecad58a06e3baea19d309b20 100755 (executable)
@@ -4,8 +4,8 @@ our %count;
 our $mobile;
 
 if (m{<td class=hl>} .. m{</?td>}) {
-       $count{-url} = 'http://stats.wikimedia.org/archive/squid_reports/';
-       $count{-source} = 'Wikimedia';
+       $count{-source} = 'http://stats.wikimedia.org/archive/squid_reports/';
+       $count{-title } = 'Wikimedia';
        $count{-date} = $1 if m{ period: (?:\d+ )?(\w+ \d+) };
        next;
 }