Wikipedia:Bots/Requests for approval/HasteurBot 15


 * 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

HasteurBot 15
Operator:

Time filed: 19:55, Sunday, June 7, 2020 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Python

Source code available: Customized pywikipedia "listgenerator" script

Function overview: Apply WikiProject Europe/The 10,000 Challenge banner to all talk pages associated with articles listed at WikiProject_Europe/The_10,000_Challenge and the 1k breakout pages.

Links to relevant discussions (where appropriate): Bot_requests

Edit period(s): Daily until the challenge has completed, then perhaps 1x a year (to conduct automated maintenance)

Estimated number of pages affected: Up to 10,000

Exclusion compliant (Yes/No): No

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

Function details: Using a customized version of listgenerator script from Pywikibot to:
 * 1) Open the subindex pages and extract the "titles"of articles "counted" in the challenge
 * 2) Grab the Article page and flip over to the talk page
 * 3) If the template WPEUR10k is not present on the page, add it to the top of the page to indicate one of the editing drives that helped it.

Discussion
Tagging as the editor who asked for this at WP:BOTREQ Hasteur (talk) 19:55, 7 June 2020 (UTC) BAGAssistanceNeeded. I believe this is relatively easy and would hope BAG could move this forward Hasteur (talk) 14:09, 14 June 2020 (UTC)
 * BotTrial Primefac (talk) 23:59, 15 June 2020 (UTC)
 * 42 pages. Your assistance would be appreciated. Hasteur (talk) 02:30, 16 June 2020 (UTC)
 * It looks good. And trial completed. BabbaQ (talk) 06:12, 16 June 2020 (UTC)
 * Just out of curiosity, would it make more sense to put the template on its own line? Primefac (talk) 17:16, 19 June 2020 (UTC)
 * I'm happy to add a newline so that the template will be broken out to it's own line. It's a trivial change. Hasteur (talk) 17:00, 21 June 2020 (UTC)
 * Excellent.
 * . Primefac (talk) 17:02, 21 June 2020 (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 WT:BRFA.