Wikipedia:Bots/Requests for approval/DumbBOT 7


 * 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.

DumbBOT
Operator: Tizio

Automatic or Manually Assisted: Automatic

Programming Language(s): Bash (with sed, grep, etc.)

Function Summary: remove and similar templates from pages that are not/no longer protected

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

Edit rate requested: 20 edits per day

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

Function Details: loads the list of pages where is transcluded, produce a list of the ones that are protected; both functions are performed via query.php; for each page where the template is transcluded but is not protected, remove the template from it, such as in.

Function requested at Bot requests/Archive 48 (I was also thinking a similar function for the protected redirects).

Discussion
Looks good. Does it catch the other "protected" templates listed at Template:Protection templates. Does it handle semi-protection? — Mets501 (talk) 19:12, 7 February 2007 (UTC)
 * Approved for trial. —  xaosflux  Talk 04:15, 8 February 2007 (UTC)


 * It currently deals with most of the protection templates; an exception is the template-protected template, which may cause some problems (that template is for permanently protected templates, however). And of course it doesn't mess with office protection at all. It assumes that protected="Anon can't edit" or "User can't move". It's not exactly the right thing in all cases, but I prefer the bot to leave a full-protection template on a semi-protected page rather than deleting it altogether. Tizio 18:52, 8 February 2007 (UTC)
 * Well, as long as she works right, let 'er rip - (saves me from having to remember to add templates which is a good thing :) -- Tawker 07:22, 11 February 2007 (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.