Page MenuHomePhabricator

Add bclwiktionary to wikistats
Closed, ResolvedPublic

Description

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

Event Timeline

MariaDB [wikistats]> insert into wiktionaries (prefix,lang,loclang,method) select prefix,lang,loclang,method from wikipedias where prefix="bcl";

...

 /usr/lib/wikistats/update.php wt prefix bcl
sent query: 'select * from wiktionaries where prefix="bcl"'.
A(1/179) - bcl.wiktionary.org - calling API: https://bcl.wiktionary.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=php&maxlag=5
-> http answer: 302 -> parsing answer: 1
getting version for https://bcl.wiktionary.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=php&maxlag=5PHP Notice:  unserialize(): Error at offset 0 of 50430 bytes in /usr/share/php/wikistats/functions.php on line 73
---> ERROR - fetching via HTTP failed: id 443 (https://bcl.wiktionary.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=php&maxlag=5) 

---> update wiktionaries set http="302" where id="443";

This does not exist yet.

https://bcl.wiktionary.org does not work.

Could we make it so that these tickets get created once the wiki exists?

Dzahn changed the task status from Open to Stalled.Dec 22 2020, 11:50 PM

That's what the dependency tree is for: This task depends on a (currently open) subtask. I don't think that making it harder to plan work by not yet creating tasks helps.

And I think it helps to not get pinged about doing something before you are supposed to do it. The only one "planning work" here is me.

@Aklapper Actually... I thought quite a bit about this last night. Let's leave everything as it is. It's fine either way. Happy Holidays!

This does not exist yet.

https://bcl.wiktionary.org does not work.

Could we make it so that these tickets get created once the wiki exists?

It shouldn't be that hard to rewrite it in the maintenance bot, ftr.

Urbanecm changed the task status from Stalled to Open.Jan 11 2021, 4:49 PM
Urbanecm closed subtask T270274: Create Wiktionary Bikol as Resolved.

Opened.

MariaDB [wikistats]> insert into wiktionaries (prefix,lang,loclang,method) select prefix,lang,loclang,method from wikipedias where prefix="bcl";
Query OK, 1 row affected (0.014 sec)
Records: 1  Duplicates: 0  Warnings: 0



dzahn@wikistats-wild-tiger:~$ /usr/lib/wikistats/update.php wt prefix bcl
sent query: 'select * from wiktionaries where prefix="bcl"'.
A(1/180) - bcl.wiktionary.org - calling API: https://bcl.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://bcl.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: 0 images: 0
---> update wiktionaries set total="0",good="0",edits="0",users="0",activeusers="0",admins="0",images="0",http="200",si_generator="MediaWiki 1.36.0-wmf.25",ts=NOW() where id="446";