Page MenuHomePhabricator

wikistats: add tcy.wikipedia, jam.wikipedia (and check for other missing ones)
Closed, ResolvedPublic

Description

add tcy.wikipedia to wikistats.wmflabs.org

while at it check if other new wmf wikis are missing

Event Timeline

Dereckson renamed this task from wikistats: add tcy.wikipedia (and check for other missing ones) to wikistats: add tcy.wikipedia, jam.wikipedia (and check for other missing ones).Aug 8 2016, 6:15 AM

To do on the instance:

INSERT INTO wikipedias (prefix, lang, loclang)
VALUES ("jam", "Jamaican", "Patois"), ("tcy", "Tulu", "ತುಳು ಭಾಷೆ");

done, but also:

update wikipedias set loclang="ತುಳು ಭಾಷೆ" where prefix="tcy";
MariaDB [wikistats]> update wikipedias set method=8 where prefix='tcy' or prefix='jam';
@wikistats-cowgirl:~# /usr/bin/php /usr/lib/wikistats/update.php wp prefix jam
..
---> OK - total: 2420 good: 1410 edits: 14952 users: 838 active users: 19 admins: 1 images: 0
..

..
@wikistats-cowgirl:~# /usr/bin/php /usr/lib/wikistats/update.php wp prefix tcy
..
---> OK - total: 1267 good: 687 edits: 11697 users: 208 active users: -1 admins: 0 images: 0

I checked the diff between the list of wikipedia prefixes i get from

curl https://meta.wikimedia.org/w/api.php?action=sitematrix

and the wikistats db.

The difference are:

< arbcom-de
< arbcom-en
< arbcom-fi
< arbcom-nl
< nostalgia
< ten
< test
< test2
< wg-en

These are either not public (arbcom, wg-en), not a real wiki (ten) or testing (test, test2).

And "nostalgia" i actually added just now...

actually i also added "test" and "test2" because why not, their stats can be read.

Should this be added to the Add_a_wiki docs?