Wikipedia:Bots/Requests for approval/UcuchaBot 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 Approved.
Operator: Ucucha (talk · contribs)
Time filed: 23:53, Monday August 29, 2011 (UTC)
Automatic or Manual: Automatic unsupervised
Programming language(s): PHP
Source code available: Not yet fully written; will make available on request
Function overview: Add a notice to WP:FAC nominations by WP:CUP participants (something like "User:X, a nominator of this article, is a participant in the WikiCup.").
Links to relevant discussions (where appropriate): WT:CUP#Cup reviews; discussions at WT:FAC
Edit period(s): Daily, I think
Estimated number of pages affected: A few dozens per year?
Exclusion compliant (Y/N): Y
Already has a bot flag (Y/N): Y
Function details: It will read the nominator line in each FAC and check whether the nominator is listed as a participant in WP:CUP. If so, it adds a notice to the FAC.
Discussion
editLooks uncontroversial, so Approved for trial (10 or so edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. You can copy to sandbox and fake-edit some if there aren't any active ones. — HELLKNOWZ ▎TALK 07:18, 30 August 2011 (UTC)[reply]
- Thanks. The code is still buggy, so I have to fix it up first. Ten edits will probably take months; I'll instead have it commit edits that it would make to a sandbox.
- I'm considering changing this into a general request "do minor FAC maintenance" so the bot can do tasks like moving the marker daily. Ucucha (talk) 12:44, 30 August 2011 (UTC)[reply]
- BRFAs are given for specific tasks though. So you need to list them all now, or apply with new BRFAs later. For faster processing, I suggest multiple BRFAs. — HELLKNOWZ ▎TALK 12:46, 30 August 2011 (UTC)[reply]
- Fair enough; I thought I recalled that some bots had general approvals of that kind. I'll file a separate BRFA.
- I had the bot post information about edits it would make if I told it to to User:UcuchaBot/Debug. I believe it's working fine now (at least on my computer; I'll transfer the code to the Toolserver later). I won't actually have it add notices to current FACs, but I'll set up the bot to check for new FACs daily. Ucucha (talk) 17:11, 30 August 2011 (UTC)[reply]
- The message could use a user/talk link and a period after it. Just a preference, nor really an issue. Are all FACs with WikiCup participant automatically WikiCup nominations? — HELLKNOWZ ▎TALK 17:14, 30 August 2011 (UTC)[reply]
- I fixed the missing period in the messages (the error was in the template used, User:Ucucha/Cup, which the bot subst:'s), and will add some links in the bot code.
- Nominators can decide that they won't submit a nom to the Cup, in which case they can remove the notice (as the text says). Ucucha (talk) 20:06, 30 August 2011 (UTC)[reply]
- The bot code now adds a link to the userpage (I don't think other links are necessary, since the nominator's name is already going to be linked several times in the FAC). Do you want me to post the edits to User:UcuchaBot/Debug again? Ucucha (talk) 23:28, 30 August 2011 (UTC)[reply]
- No, that's fine. I'd like to see one or two live edits though. — HELLKNOWZ ▎TALK 07:19, 31 August 2011 (UTC)[reply]
- That'll have to wait for the next Cup FAC nom, which may take some time. I'll put it as a cron job on the Toolserver as soon as I finish the code for WP:Bots/Requests for approval/UcuchaBot 3, which is going to use the same database. Ucucha (talk) 12:57, 31 August 2011 (UTC)[reply]
- For testing purposes, it would be easy enough for one of us in the competition to create a dummy FAC nom for testing purposes. i.e.: When you are ready, just ping me, and I will create a nomination. Once you and the approvals group is satisfied, I'll simply delete the page. Resolute 14:58, 1 September 2011 (UTC)[reply]
- Thanks for the offer and sorry that I didn't see this message before. The bot is now set up to check every evening at midnight UTC, so if you set up and transclude a FAC at that time (otherwise the bot won't see it), it should work. Ucucha (talk) 21:00, 3 September 2011 (UTC)[reply]
- For testing purposes, it would be easy enough for one of us in the competition to create a dummy FAC nom for testing purposes. i.e.: When you are ready, just ping me, and I will create a nomination. Once you and the approvals group is satisfied, I'll simply delete the page. Resolute 14:58, 1 September 2011 (UTC)[reply]
- That'll have to wait for the next Cup FAC nom, which may take some time. I'll put it as a cron job on the Toolserver as soon as I finish the code for WP:Bots/Requests for approval/UcuchaBot 3, which is going to use the same database. Ucucha (talk) 12:57, 31 August 2011 (UTC)[reply]
- No, that's fine. I'd like to see one or two live edits though. — HELLKNOWZ ▎TALK 07:19, 31 August 2011 (UTC)[reply]
- The bot code now adds a link to the userpage (I don't think other links are necessary, since the nominator's name is already going to be linked several times in the FAC). Do you want me to post the edits to User:UcuchaBot/Debug again? Ucucha (talk) 23:28, 30 August 2011 (UTC)[reply]
- The message could use a user/talk link and a period after it. Just a preference, nor really an issue. Are all FACs with WikiCup participant automatically WikiCup nominations? — HELLKNOWZ ▎TALK 17:14, 30 August 2011 (UTC)[reply]
- BRFAs are given for specific tasks though. So you need to list them all now, or apply with new BRFAs later. For faster processing, I suggest multiple BRFAs. — HELLKNOWZ ▎TALK 12:46, 30 August 2011 (UTC)[reply]
The bot just made a live edit. It turns out it needs to add a little more whitespace to its notice, which I'll take care of. Ucucha (talk) 00:18, 11 September 2011 (UTC)[reply]
- A user has requested the attention of the operator. Once the operator has seen this message and replied, please deactivate this tag. (user notified) any updates on the status of this bot? ΔT The only constant 16:33, 11 October 2011 (UTC)[reply]
- It's working, but at a quite slow pace; the most recent edit was this one. Ucucha (talk) 17:01, 11 October 2011 (UTC)[reply]
Approved. --Chris 11:44, 13 October 2011 (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.