Wikipedia:Bots/Requests for approval/DatBot 12
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard. The result of the discussion was Approved.
Operator: DatGuy (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 23:17, Wednesday, November 20, 2024 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Rust
Source code available: https://gitlab.wikimedia.org/toolforge-repos/datbot-deletion-notifier/
Function overview: Takeover of FastilyBot's deletion discussion notifiers
Links to relevant discussions (where appropriate): Wikipedia:Bot requests#Replacing FastilyBot
Edit period(s): Daily
Estimated number of pages affected:
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: A rewrite of User:FastilyBot's task numbers 6, 12, 14, and 16; which deal with notifications for dated deletions, FFDs, file PRODs, and article PRODs respectively. The code is entirely adapted and rewritten into Rust, as while Fastily's code is impressive, all the tasks are combined into a number of first-party projects that would be a tad difficult for me to maintain and I wanted to try to make something in Rust so why not. There is a configuration page at User:DatBot/DeletionNotifier which merges User:FastilyBot/Task/6/Ignore and User:FastilyBot/Task/6/Rules for the dated deletion nominations, and I've made a few test edits on the category at Special:PageHistory/User:DatBot/sandbox. DatGuyTalkContribs 23:17, 20 November 2024 (UTC)[reply]
Discussion
[edit]- @DatGuy: Hi. I have been on mobile since Fastily retired/the discussion at BOTREQ began, so I couldn't find much details about the original bot. Which languages were originally used? —usernamekiran (talk) 10:35, 21 November 2024 (UTC)[reply]
- I hyperlinked it in the function details: https://github.com/fastily/fastilybot/blob/main/fastilybot/bots.py. It uses Python and pwiki, a library made by Fastily. DatGuyTalkContribs 10:46, 21 November 2024 (UTC)[reply]
- Approved for trial (50 edits or 30 days, whichever happens first). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Just need to make sure everything's working given the code rewrite. Primefac (talk) 12:36, 22 November 2024 (UTC)[reply]
- @Primefac: 46 edits done, and I'd like to round it up to 50 if you don't mind. Contribs. Some highlights: Four notifications in one edit, User talk:Lugnuts was skipped because it has {{nobots}}, User talk:Jokestress was skipped for PROD-ed Rutgers Nisso Group because they were linked to it in a previous revision they removed (bot checks for last 24 hours). DatGuyTalkContribs 13:59, 24 November 2024 (UTC)[reply]
- Trial complete. Contribs. DatGuyTalkContribs 23:31, 26 November 2024 (UTC)[reply]
- Approved. Primefac (talk) 20:41, 1 December 2024 (UTC)[reply]
- Approved for trial (50 edits or 30 days, whichever happens first). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Just need to make sure everything's working given the code rewrite. Primefac (talk) 12:36, 22 November 2024 (UTC)[reply]
- I hyperlinked it in the function details: https://github.com/fastily/fastilybot/blob/main/fastilybot/bots.py. It uses Python and pwiki, a library made by Fastily. DatGuyTalkContribs 10:46, 21 November 2024 (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 Wikipedia:Bots/Noticeboard.