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 Approved. Gimmetrow 22:52, 21 May 2008 (UTC)[reply]
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
editI don't think any of these are controversial, and from the number of tagging requests we get at Wikipedia: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)[reply]
- 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)[reply]
- At the moment I'm going through Category:WikiProject banners sorting, converting to
{{WPBannerMeta}}
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)[reply]- 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)[reply]
- At the moment I'm going through Category:WikiProject banners sorting, converting to
- While not a requirement at all, a couple of tips from someone who does this same task.
- It's extremely helpful to include what caused you to tag the talkpage, in the editsummary. examples
- You'll want to make sure the relevant wikiproject is specifically OK with each run.
- Also, is your bot prepared to deal with {{WikiProjectBannerShell}} and the others like it? SQLQuery me! 13:35, 9 April 2008 (UTC)[reply]
- 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
{{WikiProjectBanners}}
and{{WikiProjectBannerShell}}
, and their redirects. Are there any other shell templates it needs to work with? My trial run for the replacement function would be{{WikiProject Albania}}
, 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‑melon 16:05, 9 April 2008 (UTC)[reply]- Ahh, gotcha :) Go ahead and run the albania trial then. I hope 5 days will be enough Approved for trial (5 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. SQLQuery me! 16:09, 9 April 2008 (UTC)[reply]
- Done 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? Happy‑melon 11:22, 10 April 2008 (UTC)[reply]
- 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. Happy‑melon 12:24, 10 April 2008 (UTC)[reply]
- Done 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? Happy‑melon 11:22, 10 April 2008 (UTC)[reply]
- Ahh, gotcha :) Go ahead and run the albania trial then. I hope 5 days will be enough Approved for trial (5 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. SQLQuery me! 16:09, 9 April 2008 (UTC)[reply]
- 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
- {{BAGAssistanceNeeded}}
- 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. Happy‑melon 21:51, 11 April 2008 (UTC)[reply]
- 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. SQLQuery me! 01:13, 12 April 2008 (UTC)[reply]
How'd you go with that? — Werdna talk 01:50, 13 April 2008 (UTC)[reply]
- Dycedarg beat me to it :D Happy‑melon 10:09, 13 April 2008 (UTC)[reply]
- Do you think the bot's ready? The previous run seemed to me like it went alright. SQLQuery me! 19:35, 19 April 2008 (UTC)[reply]
- 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. Happy‑melon 21:31, 20 April 2008 (UTC)[reply]
- Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. for the last part. --uǝʌǝsʎʇɹoɟʇs(st47) 23:15, 22 April 2008 (UTC)[reply]
- 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. Happy‑melon 21:31, 20 April 2008 (UTC)[reply]
- Do you think the bot's ready? The previous run seemed to me like it went alright. SQLQuery me! 19:35, 19 April 2008 (UTC)[reply]
{{OperatorAssistanceNeeded}}
What's the status of this bot request? --uǝʌǝsʎʇɹoɟʇs(st47) 16:14, 27 April 2008 (UTC)[reply]- 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). Happy‑melon 17:25, 27 April 2008 (UTC)[reply]
{{BAGAssistanceNeeded}} 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 Wikipedia:DISCWORLD, or at least a sample therein, as a test of the full code. Happy‑melon 22:06, 7 May 2008 (UTC)[reply]
- Approved for trial (125 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete., enough for the Discworld books, characters and films categories. Gimmetrow 05:36, 10 May 2008 (UTC)[reply]
- Done. How does that look? Other than the diabolical state of some of Wikipedia:DISCWORLD's articles (:D) I can't see any problems myself. Happy‑melon 14:57, 17 May 2008 (UTC)[reply]
- {{BAGAssistanceNeeded}} *Cough* :D Happy‑melon 15:51, 18 May 2008 (UTC)[reply]
- 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)[reply]
- 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
{{WPB}}
to make it easier for myself and others :D). Happy‑melon 08:52, 20 May 2008 (UTC)[reply]
- 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
- 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)[reply]
Approved. OK then. Gimmetrow 22:52, 21 May 2008 (UTC)[reply]
- 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.