Wikipedia:Bots/Requests for approval/Ahechtbot 7

Ahechtbot 7

[[User:Ahechtbot|Ahechtbot 7]]

{{Newbot|Ahechtbot|7}}

Operator: {{botop|Ahecht}}

Time filed: 17:31, Friday, October 29, 2021 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Javascript/Node.js

Source code available: User:Ahechtbot/wikiprojects.js

Function overview: Update Wikipedia:WikiProject Articles for creation/WikiProject templates.json

Links to relevant discussions (where appropriate): Wikipedia talk:WikiProject Articles for creation/WikiProject templates.json

Edit period(s): Weekly

Estimated number of pages affected: 1

Exclusion compliant (Yes/No): No

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

Function details: My User:Ahecht/Scripts/draft-sorter script had been generating the wikiproject list in the userspace of the person running it, causing a delay when loading the script. I set up Ahechtbot to periodically run the list-updating portion of the script in its own userspace (User:Ahechtbot/WikiProject templates.json) so the script can fetch it from there without the delay, but I would instead like the bot to update the page at Wikipedia:WikiProject Articles for creation/WikiProject templates.json to allow other scripts, such as MediaWiki:AFC-add-project-tags.js, to benefit from having an automatically updated data source.

=Discussion=

:I'm rather involved here so would recuse from BAG actions, but would recommend this be approved without trial. I don't suppose much of a trial is possible given the infrequency of the edits to be made. So a trial may essentially boil down to creating a fake wikiproject template and checking if the bot picks that up – all of which Ahecht has likely verified already by less cruder means. – SD0001 (talk) 07:04, 3 November 2021 (UTC)

::{{BotSpeedy}} Single page that is easy enough to keep track of. Primefac (talk) 12:00, 11 November 2021 (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 Wikipedia:Bots/Noticeboard.