Misplaced Pages

:Bots/Requests for approval/HasteurBot 15 - Misplaced Pages

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Misplaced Pages:Bots | Requests for approval

This is an old revision of this page, as edited by Primefac (talk | contribs) at 17:02, 21 June 2020 (HasteurBot 15: approved). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 17:02, 21 June 2020 by Primefac (talk | contribs) (HasteurBot 15: approved)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
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.

HasteurBot 15

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 Misplaced Pages:WikiProject_Europe/The_10,000_Challenge#Article_achievements and the 1k breakout pages.

Links to relevant discussions (where appropriate): Misplaced Pages: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:

  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 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)

{{BotTrial}} Primefac (talk) 23:59, 15 June 2020 (UTC)
Trial complete. 42 pages. @BabbaQ: Your assistance would be appreciated. Hasteur (talk) 02:30, 16 June 2020 (UTC)
@Hasteur: 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)
@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)
Excellent.
 Approved.. 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.
Categories: