Wikipedia:Bots/Requests for approval/HasteurBot 5

HasteurBot 5

[[User:HasteurBot|HasteurBot 5]]

{{Newbot|HasteurBot|5}}

Operator: {{botop|Hasteur}}

Time filed: 19:40, Tuesday September 24, 2013 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python/pywikibot

Source code available: [https://github.com/hasteur/hasteurbot_task_3/blob/master/add_magic_cat.py]

Function overview: Implementation of Wikipedia:Bots/Requests for approval/ArticlesForCreationBot 4 in pywikibot framework due to AFCBot being offline for an extended period.

Links to relevant discussions (where appropriate): Wikipedia:Bots/Requests for approval/ArticlesForCreationBot 4 and Wikipedia_talk:AFC#Category:AfC_submissions_with_missing_AfC_template_1

Edit period(s): Sporatic, depending on the list at User:Petrb/Weird pages being re-populated

Estimated number of pages affected: as many as are listed in the above mentioned driver data.

Exclusion compliant (Yes/No): No

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

Function details: Needing to step in and get these pages processed appropriately to fill :Category:AfC submissions with missing AfC template and give AfC reviewers time to review prior to the launch of the October backlog drive. {{U|Petrb}} has expressed that they do not have the time to correct AFCbot's coding to deal with the forced https change. Exclusions are not appropriate due to these pages needing to be tagged if they're in the AfC project space and they are missing a AfC submission template.

=Discussion=

{{tl|BAGAssistanceNeeded}} This is a request for speedy approval. I'll try to get the code ready for review ASAP and will stand by for a trial period. Ideally this bot should have it's first major run in 3 days so that AfC volunteers can resolve the list prior to the backlog drive that is scheduled for October 1st. Hasteur (talk) 19:40, 24 September 2013 (UTC)

{{BotTrial|edits=50}} Previously approved task. —  HELLKNOWZ  ▎TALK 19:45, 24 September 2013 (UTC)

:Per your request, This bot task will crawl the list mentioned above and if there is no AfC submission template, it will add the category :Category:AfC submissions with missing AfC template Hasteur (talk) 02:17, 25 September 2013 (UTC)

{{BotTrialComplete}}: Few minor problems (double cat tagging). Corrected by looking for both underscored versions and non-underscored versions of the category. Having a volunteer potential pages is a good thing. Hasteur (talk) 23:33, 25 September 2013 (UTC)

:([https://toolserver.org/~snottywong/cgi-bin/commentsearch.cgi?name=HasteurBot&search=Adding%20main trial]) Which namespaces does this edit, I thought this is limited to prefix "Wikipedia talk:Articles for creation/"? [https://en.wikipedia.org/w/index.php?title=User:Calamityjana/Agness_Underwood&diff=prev&oldid=574526758 Not sure what happened here.] I see quite a few double tags, will you fix them or leave them for now? Should the category be added to blank submissions like [https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_creation/Adobe_Digital_Publishing_Suite_%28ADPS%29&diff=prev&oldid=574526704] or would a better handling of these be preferred? [https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_creation/Alex_Mendham&diff=prev&oldid=574527650 This] or [https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_creation/Cash_Colligan&diff=prev&oldid=574528722 this] don't look like missing the AfC template. You also really need a better edit summary, especially since we are dealing with new users. —  HELLKNOWZ  ▎TALK 19:49, 26 September 2013 (UTC)

:#At the time of the tagging of the Agness Underwood page, it was located in the Wikipedia talk space [https://en.wikipedia.org/w/index.php?title=User:Calamityjana/Agness_Underwood&action=history] (observe the action at 08:58, 26 September 2013‎ by Rankersbo)

:#Initially I had some double tags because I was excluding pages that had the category name without underscores whereas Petan did have underscores.

:#Under the strictest interpertation the blank pages are eligible due to being in the right prefix space without a submission template and without the defect category.

:#During the first couple of pages I did not have an appropriate check to deal with usage of both {{AfC submission| and {{AFC submission. This has been corrected

:#As to the edit summary how would HasteurBot Task 5: Adding maintenance category to page matching criteria

::Thanks Hasteur (talk) 20:04, 26 September 2013 (UTC)

:::Okay on the page move, same for empty pages. Summary sounds good, you could even link the category from the edit summary. Anyway, {{BotExtendedTrial|edits=50}} —  HELLKNOWZ  ▎TALK 20:11, 26 September 2013 (UTC)

{{BotTrialComplete}}:Second trial conducted. After I kept getting a bunch of blanks, I short circuted some of the list so that we could see some "correct" tagging. The trial's edits are between 22:03, 26 September 2013 and 22:25, 26 September 2013. I see no problems and in the actions, so I'll await approval to go ahead and process the entire list. Hasteur (talk) 22:31, 26 September 2013 (UTC)

Ping {{U|Hellknowz}}, though at this point we might just want to leave the runing of the bot out so that the volunteers can focus on the AfC backlog drive first. Hasteur (talk) 19:07, 29 September 2013 (UTC)

:[//en.wikipedia.org/w/index.php?title=CruiseCompare.co.uk&diff=prev&oldid=574664166 What happened here?] —  HELLKNOWZ  ▎TALK 19:33, 29 September 2013 (UTC)

::After the bot got the page tagged, the AfC volunteer requested a histmerge and it caused great confusion. Hasteur (talk) 20:15, 29 September 2013 (UTC)

{{BotApproved}} Alright, looks good. Simple, previously approved task. —  HELLKNOWZ  ▎TALK 20:17, 29 September 2013 (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.