Page MenuHomePhabricator

Add kcgwiktionary to wikistats
Closed, ResolvedPublic

Description

Please add new wiki kcgwiktionary to Wikistats, once it is created. Thanks!

Related Objects

Event Timeline

Dzahn changed the task status from Open to Stalled.Apr 14 2023, 5:54 PM
Dzahn claimed this task.

waiting on T334730

Dzahn changed the task status from Stalled to In Progress.Apr 20 2023, 6:03 PM

If the project already exists as a Wikipedia, we can be lazy and add it this way:

MariaDB [wikistats]> insert into wiktionaries (prefix, lang, loclang, method) select prefix,lang,loclang,method from wikipedias where prefix="kcg";
Query OK, 1 row affected (0.030 sec)
dzahn@wikistats-bullseye:~$ /usr/lib/wikistats/update.php wt prefix kcg
sent query: 'select * from wiktionaries where prefix="kcg"'.
A(1/189) - kcg.wiktionary.org - calling API: https://kcg.wiktionary.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=php&maxlag=5
-> http answer: 200 -> parsing answer: 0
getting version for https://kcg.wiktionary.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=php&maxlag=5---> OK - total: 0 good: 0 edits: 0 users: 0 active users: 0 admins: 2 images: 0
---> update wiktionaries set total="0",good="0",edits="0",users="0",activeusers="0",admins="2",images="0",http="200",si_generator="MediaWiki 1.41.0-wmf.5",ts=NOW() where id="457";