Wikipedia:Bots/Requests for approval/ShepBot 3
- 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.
Operator: §hep • ¡Talk to me!
Automatic or Manually Assisted: Automatic
Programming Language(s): AWB
Function Summary: Tag talk pages of cricketers with {{reqphoto|sportspeople}} if the article does not have an image or if it contains Image:Cricket no pic.png.
Edit period(s) (e.g. Continuous, daily, one time run)One time run, and possibly if a similar task is requested again
Already has a bot flag (Y/N)Y
Function Details: Parse all pages in a certain category for an image. If there is an image skip the page and do nothing. If there is no image it visits the talkpage and places {{reqphoto|sportspeople}} directly under the requesting project's banner. In this case Wikiproject Cricket's banner. If the talk page banners are set to "|small=yes" it adds {{reqphoto|sportspeople|small=yes}}. It will not interfere with WikiProjectBannerShells. It will also tag pages that contain Image:Cricket no pic.png. Per a BOTREQ.
Also, from Wikipedia:India I will be adding |image-needed=yes
to their project banner if the article does not contain an image.I'm debating whether I should treat SVGs in articles as nothing. That way if an infobox has a flag in it and nothing else it is still tagged as needing an image. That seems the way to go.
Discussion
editApproved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. (25 edits per task) Let's get a fair idea of the task, and we'll go on from there. — E ↗TCB 01:41, 30 June 2008 (UTC)[reply]
- Done I went over 4 edits on the cricket ones I think. §hep • ¡Talk to me! 19:57, 2 July 2008 (UTC)[reply]
- With the bots recent edits psoobily hiding the cotribs a direct link is here. §hep • ¡Talk to me! 23:25, 3 July 2008 (UTC)[reply]
- Looks like it's working to me. I've gone through many contribs, and I think it deserves a go-ahead. – Quadell (talk) (random) 14:26, 5 July 2008 (UTC)[reply]
Approved. BJTalk 05:43, 6 July 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.