Page MenuHomePhabricator

Add annwiki to wikistats
Closed, ResolvedPublic

Description

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

Related Objects

Event Timeline

I see you manually created this task. (thanks!)

Does it mean the bot did not do it this time? This happened sometimes in the past, but not every time. No idea what changes there.

Regardless if a human or a bot creates it, it would be helpful if it was a direct subtask of the wiki creation task and not this intermediate "Post-creation work" task.

Then, ideally, it would be nice if the language name in English and the local language itself could be included. This is for the bot.

MariaDB [wikistats]> insert into wikipedias (prefix, lang, loclang, method) values ("ann","Obolo", "Obolo", 8);
...
dzahn@wikistats-bookworm:~$ /usr/lib/wikistats/update.php wp prefix ann
sent query: 'select * from wikipedias where prefix="ann"'.
A(1/356) - ann.wikipedia.org - calling API: https://ann.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=php&maxlag=5
-> http answer: 200 -> parsing answer: 0
getting version for https://ann.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=php&maxlag=5---> OK - total: 488 good: 384 edits: 3734 users: 72 active users: 5 admins: 0 images: 0
---> update wikipedias set total="488",good="384",edits="3734",users="72",activeusers="5",admins="0",images="0",http="200",si_generator="MediaWiki 1.43.0-wmf.26",ts=NOW() where id="373";

Thanks! ACK.

I would like to fix that tree structure some day but the github hosting kind of keeps me away from it.