Wikipedia:Bots/Requests for approval/MelonBot 6


 * The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was Symbol keep vote.svg Approved. Gimmetrow 22:52, 21 May 2008 (UTC)

MelonBot
Operator: Happy‑melon

Automatic or Manually Assisted: Automatic supervised

Programming Language(s): AWB

Function Summary: Various WikiProject Banner maintentance takss

Edit period(s) (e.g. Continuous, daily, one time run): from time to time

Edit rate requested: 8 edits per minute

Already has a bot flag (Y/N): Y

Function Details: As per User:MelonBot/WikiProject banners

Discussion
I don't think any of these are controversial, and from the number of tagging requests we get at BOTREQ, the more bots approved to tag talk pages, the better :D. Since these are all fairly simple find-and-replace jobs, it'll be safer to do them with AWB than write my own code for them. Happy‑melon 15:23, 8 April 2008 (UTC)
 * Seems non-controversial, any idea how many pages per month this would involve? Could you keep a summary log of jobs you do or use distinct edit summaries?  MBisanz  talk 00:37, 9 April 2008 (UTC)
 * At the moment I'm going through Category:WikiProject banners sorting, converting to if appropriate, and doing general tidying.  I'd probably use distinct edit summaries, but the runs would be variable in length, and 'as-needed', so I couldn't easily say how often it'll be required.  I wouldn't want to do runs of over a thousand banners at a time, because they'd take forever at 8epm, which is about the maximum that AWB can manage anyway.  Happy‑melon 08:50, 9 April 2008 (UTC)
 * Hmm, ok, as long as we can go back and see where you did what from the edit summaries it looks good to me. Now all you need is a trial. *cough*BAGer needed*cough*  MBisanz  talk 12:12, 9 April 2008 (UTC)


 * While not a requirement at all, a couple of tips from someone who does this same task.


 * 1) It's extremely helpful to include what caused you to tag the talkpage, in the editsummary. examples
 * 2) You'll want to make sure the relevant wikiproject is specifically OK with each run.
 * Also, is your bot prepared to deal with and the others like it?  SQL Query me!  13:35, 9 April 2008 (UTC)
 * For the removals and replacements, the location of the banner with respect to banner shells is (AFAIK) irrelevant, but yes, for tagging runs it's important. I'm still playing with AWB's find-and-replace rules, but I'm pretty certain that it'll catch  and, and their redirects.  Are there any other shell templates it needs to work with? My trial run for the replacement function would be , which as you can see is literally asking to be replaced; tagging runs would be by project request, as you say.  If the project has been deleted, I don't think anyone's going to complain if the banner is too :D! Happy‑<b style="color:darkorange;">melon</b> 16:05, 9 April 2008 (UTC)
 * Ahh, gotcha :) Go ahead and run the albania trial then. I hope 5 days will be enough  SQL <sup style="font-size: 5pt;color:#999">Query me!  16:09, 9 April 2008 (UTC)
 * ✅ It actually averaged 9 or 10 epm, peaking at 11 - if that's too much I can add a second to the bot timer to slow it down a bit. What do you think? <b style="color:forestgreen;">Happy</b>‑<b style="color:darkorange;">melon</b> 11:22, 10 April 2008 (UTC)
 * I just did a run of null edits on talk pages in Category:WikiProject banners, which cleared out a lot of dead wood. No edits recorded in the log this time, but you can see a few which registered (and prompted me to stop an earlier run :D) here. After seeing how many talk pages are still in the category due to substituted templates, I've added "desubstitution" to my list of sub-requests for this task. <b style="color:forestgreen;">Happy</b>‑<b style="color:darkorange;">melon</b> 12:24, 10 April 2008 (UTC)
 * Can I take Badagnani's tagging request to test the category addition? It's (currently) 1184 pages. Of course probably best that I do the first 50 or so and let you look at it. <b style="color:forestgreen;">Happy</b>‑<b style="color:darkorange;">melon</b> 21:51, 11 April 2008 (UTC)
 * Sure, go ahead with the entire tagging request if you'd like. I'd suggest running one category at a time, for the first few, to make sure that you're not hitting any bugs. SQL <sup style="font-size: 5pt;color:#999">Query me!  01:13, 12 April 2008 (UTC)
 * Sure, go ahead with the entire tagging request if you'd like. I'd suggest running one category at a time, for the first few, to make sure that you're not hitting any bugs. SQL <sup style="font-size: 5pt;color:#999">Query me!  01:13, 12 April 2008 (UTC)

How'd you go with that? — Werdna talk 01:50, 13 April 2008 (UTC)
 * Dycedarg beat me to it :D <b style="color:forestgreen;">Happy</b>‑<b style="color:darkorange;">melon</b> 10:09, 13 April 2008 (UTC)
 * Do you think the bot's ready? The previous run seemed to me like it went alright. SQL <sup style="font-size: 5pt;color:#999">Query me!  19:35, 19 April 2008 (UTC)
 * I've not trialed the banner-adding script - I just haven't had the time to put the finishing touches on it. I should have noted BTW that I've used pywiki in the end for that and the replacement script - the heuristics are too complicated for my mediocre knowledge of AWB's find-and-replace settings :D.  Everything else seems to work alright. <b style="color:forestgreen;">Happy</b>‑<b style="color:darkorange;">melon</b> 21:31, 20 April 2008 (UTC)
 * for the last part. --uǝʌǝsʎʇɹoɟʇs (st47) 23:15, 22 April 2008 (UTC)


 * What's the status of this bot request? --uǝʌǝsʎʇɹoɟʇs (st47) 16:14, 27 April 2008 (UTC)
 * I'm hacking away at the addBanner section. Should be done fairly soon (the grading stuff is finished, just need to work out how to work out where to put the banner (and deal with banner shells etc). <b style="color:forestgreen;">Happy</b>‑<b style="color:darkorange;">melon</b> 17:25, 27 April 2008 (UTC)

Ok, I have done a 50-edit trial run for WikiProject Opera, which you can see here. Note that this involved a banner replacement, so it's not a thorough test of the banner-placement and shell-testing code. They also asked me to disable the code that automatically copies the class parameters from other project banner templates if they agree on each talk page. I'd like to do a tagging run from Category:Discworld for DISCWORLD, or at least a sample therein, as a test of the full code. <b style="color:forestgreen;">Happy</b>‑<b style="color:darkorange;">melon</b> 22:06, 7 May 2008 (UTC)


 * , enough for the Discworld books, characters and films categories. Gimmetrow 05:36, 10 May 2008 (UTC)


 * Done. How does that look? Other than the diabolical state of some of DISCWORLD's articles (:D) I can't see any problems myself. <b style="color:forestgreen;">Happy</b>‑<b style="color:darkorange;">melon</b> 14:57, 17 May 2008 (UTC)
 * *Cough* :D <b style="color:forestgreen;">Happy</b>‑<b style="color:darkorange;">melon</b> 15:51, 18 May 2008 (UTC)
 * Did any of those edits involve nesting? I haven't looked at all of them but I didn't see a lot of project overlap. Gimmetrow 00:33, 20 May 2008 (UTC)
 * Er, doesn't look like it... too far into the backwaters of the fiction section of wikipedia. Some of those articles really are terrible! Category:People associated with the Discworld series might yield some more useful results - there's one of each banner type in there to evaluate.  The nested stuff worked fine in all my tests (after I added some code to  to make it easier for myself and others :D). <b style="color:forestgreen;">Happy</b>‑<b style="color:darkorange;">melon</b> 08:52, 20 May 2008 (UTC)

OK then. Gimmetrow 22:52, 21 May 2008 (UTC)


 * The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.