Wikipedia:Bots/Requests for approval/DumbBOT 7
From Wikipedia, the free encyclopedia
- 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.
[edit] DumbBOT
tasks • contribs • count • logs • page moves • block user • block log • flag log • flag bot
Operator: Tizio
Automatic or Manually Assisted: Automatic
Programming Language(s): Bash (with sed, grep, etc.)
Function Summary: remove {{protected}} 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 {{protected}} 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 [1].
Function requested at Wikipedia:Bot requests#Removal of protection templates (I was also thinking a similar function for the protected redirects).
[edit] 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)
- 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.