Wikipedia:Bots/Requests for approval/B-bot 5


 * 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 Symbol keep vote.svg Approved

B-bot 5
Operator:

Time filed: 18:56, Tuesday, June 23, 2015 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): C#

Source code available: User:B-bot/source/Daily Page Creator

Function overview: At midnight GTC, check to see if the dated Category:Wikipedia files missing permission exists. If it does not, create it.

Links to relevant discussions (where appropriate):

Edit period(s): Just before midnight GTC

Estimated number of pages affected: Realistically, 1 per night

Exclusion compliant (Yes/No): N/A

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

Function details: Normally, creates the daily pages at Category:Wikipedia_files_missing_permission, but it has been AWOL the last few days (since the tool server meltdown) and  has not responded.

So what I would like to do is to add a B-bot task to serve as a backup for this page in particular or for any other page that is created daily.

I can make this task so that it will have a configurable on-wiki (fully protected) user subpage, so that way if, who handles all of the other pages at CAT:CSD, ever goes down, or if there is any other daily dated categories that may be requested in the future, I can handle it without a coding change.

B-bot will run at exactly midnight GTC, and look to see whether the page in question (e.g. Category:Wikipedia files missing permission as of 23 June 2015) exists. If it does not, it will create it. If it already exists, it will do nothing. If Hazard-Bot starts working again, B-bot will see the page exists and will do nothing.

My OTRS pending task does something similar for the monthly OTRS categories, so on the basis of that similar functionality already demonstrated as working, I'm hoping for speedy approval since right now, we're having to manually create these dated missing permission categories. --B (talk) 18:56, 23 June 2015 (UTC)

Discussion

 * These categories are needed, so I support this proposal. Maybe also check whether the next one or two days exist and create those categories too? This would prevent problems if all bots are down on some day. --Stefan2 (talk) 21:34, 23 June 2015 (UTC)


 * I have now completed a successful test in simulated mode with the results at User:B-bot/Event_log. Since this is an immediate need and it's a straight forward and completely non-controversial task, can we do a speedy approval process? --B (talk) 12:12, 24 June 2015 (UTC)

((BAGAssistanceNeeded))

-- Magioladitis (talk) 16:55, 27 June 2015 (UTC)
 * Category:Wikipedia files missing permission as of 28 June 2015 was created twice. Why did this happen? --Stefan2 (talk) 17:43, 30 June 2015 (UTC)
 * The first time, it used the default edit summary, "Automatic page editing by robot". I decided to make it use a better edit summary, so I deleted the page and allowed the bot to re-create it in order to test my improved edit summary.  Then, according to the log,  inadvertently deleted the category.  When she restored it, she restored both revisions.  So that's why you see two revisions there - it's not a bug - just me actually running it twice. --B (talk) 16:20, 1 July 2015 (UTC)
 * My bad, I accidentally deleted some categories on the 27th by running a batch delete on the wrong page. Too many tabs open, is where I went wrong. Sorry, -- Diannaa (talk) 16:24, 1 July 2015 (UTC)
 * no problem - I think we've all deleted a category instead of the page we actually intended to delete once in a while. --B (talk) 16:31, 1 July 2015 (UTC)
 * Twas very alarming. I will certainly be more careful with automated work in the future. Luckily using my deletion log I was able to quickly reverse the mistake. -- Diannaa (talk) 16:34, 1 July 2015 (UTC)


 * The process has now run for five days without incident. --B (talk) 11:36, 2 July 2015 (UTC)

-- Magioladitis (talk) 08:10, 5 July 2015 (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.