Page MenuHomePhabricator

Add pcmwiki to wikistats
Closed, ResolvedPublic

Description

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

Event Timeline

Zabe changed the edit policy from "Custom Policy" to "All Users".Jun 21 2022, 11:35 AM

@Zabe Curious why those tickets start with a custom policy in the first place. Is that something we should try to change in the bot creating those?

P.S. What would be actually useful for me is if those only actually got created _after_ the wiki has been created. Or ideally if it was first "stalled" and the actual wiki creation changed that to "open". I guess. Currently I see them but still need to manually watch the "newprojects" list or so to know when they are _really_ ready to go.

@Zabe Curious why those tickets start with a custom policy in the first place. Is that something we should try to change in the bot creating those?

It seems like the default edit policy for task created via the api is this custom policy instead of "All Users". I created T305998 for this some time ago.

data taken from https://meta.wikimedia.org/wiki/Requests_for_new_languages/Wikipedia_Nigerian_Pidgin (perfect would be if the auto-created tickets had that link or the data from it)

ssh wikistats-bullseye.wikistats

mysql -u root

MariaDB [(none)]> use wikistats;

MariaDB [wikistats]> insert into wikipedias (prefix,lang,loclang,method) values ("pcm","Nigerian Pidgin","Naija",8);

/usr/lib/wikistats/update.php wp prefix pcm
sent query: 'select * from wikipedias where prefix="pcm"'.
A(1/337) - pcm.wikipedia.org - calling API: https://pcm.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://pcm.wikipedia.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 wikipedias set total="0",good="0",edits="0",users="0",activeusers="0",admins="0",images="0",http="200",si_generator="MediaWiki 1.39.0-wmf.25",ts=NOW() where id="353";

added as 329th Wikipedia

https://wikistats.wmcloud.org/display.php?t=wp