Wikipedia:Bots/Requests for approval/ProgrammingBot 2


 * 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

ProgrammingBot 2
Operator:

Time filed: 00:41, Wednesday, November 14, 2018 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): JavaScript (nodejs)

Source code available: GitHub

Function overview: Adds WikiProject Protected areas to talk pages in categories:



That do not already have the template.

Links to relevant discussions (where appropriate): WP:Bot requests

Edit period(s): Daily

Estimated number of pages affected: ~650

Exclusion compliant (Yes/No): Yes

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

Function details: Adds the template to talk pages of articles in the categories above, provided they do not already have the template. Will fill in the class= field if there is another template with it filled out.

Discussion

 * Seems uncontroversial.  SQL Query me!  09:23, 20 November 2018 (UTC)
 * This bot should put the WikiProject template inside WikiProjectBannerShell if it exists on the talk page. In situations where the banner shell does not exist, the bot should respect WP:TALKORDER as best as possible (putting the banner at the end of the existing templates is probably better than putting it at the top). --AntiCompositeNumber (talk) 17:54, 21 November 2018 (UTC)
 * A few notes from some things that have already happened
 * The bot started editing before it logged in. Whoops. The edits have been oversighted and the call to begin editing is now in the callback for the login function. Although I spotted the error and contacted the oversight team almost immediately, thank you to for bringing it to the bot noticeboard. I've already thanked Xaosflux for showing me the assert functionality of the API (link).
 * Thank you to for your input, I'm working on implementing that and will do so before continuing with the trial
 * Due to some admittedly lazy programming on my part, the bot did not properly detect templates on pages, meaning that many times the bot tagged the page with multiple templates. I'm working on fixing that issue as well, and the erroneous edits have been rollbacked (see here).
 * Thank you for your continued patience, it's been fun learning to program the bot and my skills are improving. Kind regards,  Programming Geek talk to me 19:24, 22 November 2018 (UTC)
 * Work has now resumed (I took last week off to recover from a grueling few weeks at school). Thanks,  Programming Geek talk to me 15:59, 26 November 2018 (UTC)
 * , No problem, thanks for keeping us updated. Take all the time you need. SQL Query me!  20:52, 27 November 2018 (UTC)
 * , It's been a couple months, I just wanted to check in and make sure that this is still being worked on. SQL Query me!  23:46, 22 January 2019 (UTC)
 * Sorry, school's been difficult recently. Fortunately, the paper I've been plugging away at is due on Saturday, so after that it should be quick finishing up. Thanks for your continued patience. programming Geek (contribs) { this.timestamp = 00:38, 23 January 2019 (UTC)


 * . Terribly sorry to keep everyone waiting, but I just don't have the time to finish and maintain this bot. I have to prioritize academics over the encyclopaedia, and I just don't have time for developing the bot or editing. Thank you all. programming Geek (contribs) { this.timestamp = 16:35, 7 February 2019 (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.