Wikipedia:Bots/Requests for approval/KiranBOT 13
- 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.
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: Usernamekiran (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 13:00, Friday, October 18, 2024 (UTC)
Function overview: notify users that the thread created by them at Teahouse has been archived
Automatic, Supervised, or Manual: automatic
Programming language(s): python
Source code available:
Links to relevant discussions (where appropriate): multiple venues, in short, taking over Muninnbot's task.
Edit period(s): daily
Edit rate requested: 1 edit per 70 seconds, to give admins/editors enough time to stop the bot in case something goes wrong by removing "run" from User:KiranBOT/teabot
Estimated number of pages affected: ~20 per day
Namespace(s): user talk
Exclusion compliant (Yes/No): yes, will respect {{nobots}}, and {{bots|deny=KiranBOT}}
Function details: the bot would run daily to check if archival has taken place by going through 700 latest revisions. In case an archival has take place, the bot would find out new sections created, and and their creators, and substitute the message from User:KiranBOT/Teahouse archival notification. The bot also has a mechanism to avoid repeated notifications of the same thread archival. The code is ready, and has been dummy tested. Requesting a one-run trial (that would be around 40 edits). —usernamekiran (talk) 13:00, 18 October 2024 (UTC)[reply]
Discussion
[edit]Approved for trial (30 edits or 7 days, whichever happens first). Please provide a link to the relevant contributions and/or diffs when the trial is complete. This is taking over an existing task but has now code, so I just want to make sure everything's working as intended. Primefac (talk) 11:39, 20 October 2024 (UTC)[reply]
- Trial complete. I should have mentioned this in the original request somewhere: I can log in to Muninnbot's tool account on toolforge, but I cant log in to enwiki from toolforge. Also, the code for the bot too complicated/obfuscated for me, so I created this new program from scratch, with different logic. I emailed the botop around 2-3 months ago regarding the coding, but I never heard back from them.
- 30 edits The bot has only one issue, which the original bot had as well: in case the new section is renamed, then the creator doesnt receive a notification. Approximate match wouldnt be much helpful here, as most of the Teahouse sections are titled similarly. Other than that, there were no issues. —usernamekiran (talk) 16:40, 20 October 2024 (UTC)[reply]
- Approved. If the old bot had that issue and it wasn't a huge deal, I think that's an acceptable situation; if you do manage to sort that out, feel free to implement it but don't feel like you have to. Primefac (talk) 17:06, 20 October 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.