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 Approved.
Operator: SD0001 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 16:32, Sunday, March 29, 2020 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): NodeJS
Source code available:
Function overview: Update Wikipedia:User scripts/Most imported scripts periodically.
Links to relevant discussions (where appropriate): Wikipedia:Bot requests/Archive 80#Most imported user scripts table, Wikipedia:Village pump (technical)/Archive 177#Popular user scripts
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 Wikipedia: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)[reply]
- 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)[reply]
- Approved for trial (1 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. 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)[reply]
- Trial complete. after a few hiccups with the toolforge cron edit SD0001 (talk) 12:43, 1 April 2020 (UTC)[reply]
- Approved. Every two weeks seems perfectly fine. Primefac (talk) 12:14, 3 April 2020 (UTC)[reply]
- Trial complete. after a few hiccups with the toolforge cron edit SD0001 (talk) 12:43, 1 April 2020 (UTC)[reply]
- 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.