Add olo.wikipedia to wikistats
Closed, ResolvedPublic

Description

Procedure is documented at T140970#2531977.

Dereckson created this task.Oct 7 2016, 1:10 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 7 2016, 1:10 AM
Dzahn claimed this task.Oct 7 2016, 1:14 AM
Dzahn triaged this task as Normal priority.
Dzahn added a comment.Oct 11 2016, 7:01 PM

MariaDB [wikistats]> insert into wikipedias (prefix, lang, loclang) values ("olo", "Livvi-Karelian", "livvin kieli");Query OK, 1 row affected (0.01 sec)

MariaDB [wikistats]> update wikipedias set method=8 where prefix="olo";
Query OK, 1 row affected (0.00 sec)

dzahn@wikistats-cowgirl:~$ /usr/bin/php /usr/lib/wikistats/update.php wp prefix olo
sent query: 'select * from wikipedias where prefix="olo"'.
A(1/1) - olo.wikipedia.org - calling API: https://olo.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=php&maxlag=5
...
-> http answer: 200 -> parsing answer: 0
---> OK - total: 2235 good: 3157 edits: 9181 users: 109 active users: 8 admins: 0 images: 0
...
total="2235",good="3157",edits="9181",users="109",activeusers="8",admins="0",images="0",http="200",ts=NOW() where id="316";

Dzahn closed this task as Resolved.Oct 11 2016, 7:01 PM