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 Approved.
Operator: Hasteur (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
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 Wikipedia:WikiProject_Europe/The_10,000_Challenge#Article_achievements and the 1k breakout pages.
Links to relevant discussions (where appropriate): Wikipedia:Bot_requests#Challenge_bot
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:
- Open the subindex pages and extract the "titles"of articles "counted" in the challenge
- Grab the Article page and flip over to the talk page
- 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
editTagging BabbaQ 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)[reply]
- {{BotTrial}} Primefac (talk) 23:59, 15 June 2020 (UTC)[reply]
- Trial complete. 42 pages. @BabbaQ: Your assistance would be appreciated. Hasteur (talk) 02:30, 16 June 2020 (UTC)[reply]
- @Hasteur: It looks good. And trial completed. BabbaQ (talk) 06:12, 16 June 2020 (UTC)[reply]
- 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)[reply]
- @Primefac: 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)[reply]
- Excellent.
- Approved.. Primefac (talk) 17:02, 21 June 2020 (UTC)[reply]
- @Primefac: 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)[reply]
- 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)[reply]
- @Hasteur: It looks good. And trial completed. BabbaQ (talk) 06:12, 16 June 2020 (UTC)[reply]
- Trial complete. 42 pages. @BabbaQ: Your assistance would be appreciated. Hasteur (talk) 02:30, 16 June 2020 (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 WT:BRFA.