Wikipedia:Bots/Requests for approval/SDZeroBot 3


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was

SDZeroBot 3
Operator:

Time filed: 16:32, Sunday, March 29, 2020 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): NodeJS

Source code available:

Function overview: Update User scripts/Most imported scripts periodically.

Links to relevant discussions (where appropriate): Bot requests/Archive 80, Village pump (technical)/Archive 177

Edit period(s): Weekly Once every 2 weeks

Estimated number of pages affected: 1

Exclusion compliant (Yes/No): No

Already has a bot flag (Yes/No): Yes

Function details: This bot will update User scripts/Most imported scripts periodically. In addition to the just the total number of installations shown presently, the bot will also show the number of active users for each script.

The number of installations is the number of userspace common.js or skin js pages that contain the script's name (example search query for Lupin/popups.js script). The number of active users is the number among them who've made an edit or log action in the last 30 days.

Discussion

 * My only question is whether this should be a weekly or monthly scan; how often does this sort of information change? Primefac (talk) 17:24, 29 March 2020 (UTC)
 * I agree weekly is a bit excessive. I had initially planned on doing it once a fortnight. But then, it seemed that the only way to schedule that using cron is through a hack that doesn't work 100% correctly. Maybe, I was just over-thinking stuff and it would be better to just do it on the 1st and 15th day of each month. SD0001 (talk) 11:44, 30 March 2020 (UTC)
 * While I wait for the above reply, might as well show a "full run" as proof-of-concept. Primefac (talk) 17:25, 29 March 2020 (UTC)
 * after a few hiccups with the toolforge cron edit SD0001 (talk) 12:43, 1 April 2020 (UTC)
 * Every two weeks seems perfectly fine. Primefac (talk) 12:14, 3 April 2020 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.