Wikipedia:Bots/Requests for approval/TenshiBot 8
From Wikipedia, the free encyclopedia
- 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
Speedily Approved.
TenshiBot 8
Operator: Tenshi Hinanawi (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 20:26, Sunday, December 21, 2025 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available:
Function overview: Create WikiCup contestant pages, blank and replace with {{User:TenshiBot/WikiCup setup template}} for new rounds.
Links to relevant discussions (where appropriate): Wikipedia:Bot requests/Archive 88#WikiCup submissions bot
Edit period(s): Ten months, daily
Estimated number of pages affected: There were 128 contestants in 2025, so roughly that number
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: See function overview.
Discussion
- I did two test edits in userspace, one for creating a contestant page, the other for resetting for a new round. Tenshi! (Talk page) 20:29, 21 December 2025 (UTC)
- Thanks for pulling this together. When this has come up before, one stumbling block has been whether to automate the resetting. A judge previously suggested to me that it would be better for this to be manually triggered, rather than automatic, as judges must be happy that the round is final and there are no outstanding scoring issues before everyone's submissions pages are wiped. Occasionally this causes a delay in the start of a round. This feature could be implemented through some form of basic password known only to the judges (there is no real reason to abuse this function so I don't think it would need to be anything complicated). However, creating new pages could be automatic (so I guess that does introduce some complexity).
- A couple of other small things - firstly, how does the bot know which round it is? At the moment you have round=0. Perhaps you could ask the judge to confirm? And, relatedly, I wouldn't hard-code which year it is, I think it would be better to determine that from the current date (with a correction that Dec of year X is part of year X+1). Thanks again, - Jarry1250 [Vacation needed] 12:40, 22 December 2025 (UTC)
- I agree that it should be manually triggered rather than automatic, for the reasons you outline above. The bot doesn't know what round it is, I was thinking that it would be easier to update it manually to avoid automatic resetting. The year is hardcoded currently as I don't know if BAG will want to do a trial before 2026, and I don't want to deal with changing my computer's system clock for a trial.
- Regarding it being only triggerable via judges, I could try doing some OAuth verification for a toolforge webpage trigger. Tenshi! (Talk page) 13:25, 22 December 2025 (UTC)
- I second Jarry's thanks in putting this together. A manual trigger that can be activated by the judges would be good, for the reason Jarry mentioned above. – Epicgenius (talk) 17:20, 22 December 2025 (UTC)
- {{BAG assistance needed}} The 2026 WikiCup will start tomorrow and pages will probably be needed soon. Tenshi! (Talk page) 16:28, 31 December 2025 (UTC)
- Also courtesy ping to Epicgenius in case anything's changed on the judges's side at all. Tenshi! (Talk page) 16:34, 31 December 2025 (UTC)
- @Tenshi Hinanawi, thanks for the ping. I don't think anything has changed, other than the fact that we may still need to manually set up the first 40 or so contestants' pages, in order to avoid interruption to the WikiCup. – Epicgenius (talk) 16:37, 31 December 2025 (UTC)
- Can I just double-check that this is only going to be in the WP space, and specifically in the WikiCup areas? Primefac (talk) 16:44, 31 December 2025 (UTC)
- Also courtesy ping to Epicgenius in case anything's changed on the judges's side at all. Tenshi! (Talk page) 16:34, 31 December 2025 (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.