Wikipedia:Bots/Requests for approval/TeckWizBot 2


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

TeckWizBot
Operator: TeckWiz

Automatic-Supervised

Programming Language(s):AWB

Function Summary: Substing user warnings.

Edit period(s) (e.g. Continuous, daily, one time run):Probably once a day

Edit rate requested: 10 edits per min

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

Function Details:AWB will collect the newest version of Category:User warning templates at the beginning of the run. It will then be filtered to just templates. That list will then be saved to a file. By selecting all in the list, and then right clicking and then selecting "Add to selected list->from transclusion", it will get all pages linking to the templates listed. AWB will then filter it to only user talk. I will then open the text file, use find and replace (in Wordpad) to get rid of what AWB adds on to the list ( # and  ). After the find and replace finishes, the list will pasted into the "templates to subst" box on AWB. The box to ignore HTML tags will be checked so that HTML tags displaying the warning names don't have "subst:" put in front of them. The the bot will start substing to those templates. Using the the exact same list that's in the category insures that all warning templates are substed, no matter how old or new.
 * Note-In the next version of AWB there will be a copy and past function and the text file will no longer be needed.

Discussion
Do we not have other bots which do this already (not that I'm objected in any way to this proposal on those grounds, but those users may have helpful hints)? See SUBST for details, and a source of templates which need substing. Mart inp23 23:59, 17 March 2007 (UTC)
 * This bot would only be for user warnings. And the new system isn't listed on that page. If the bots retrieve from that page, they're not substing the new templates. And a quick look at what transcludes to Template:uw-vandalism3 shows 124 unsubsted user pages. --TeckWiz Parlate Contribs@ 00:04, 18 March 2007 (UTC)
 * Ahh OK - good idea. It would probably be worth adding the new user warnings templates to that page in any case.  I suggest that you make sure that AVB only edits the User_talk: namespace, in case, for some reason, the template isn't to be substed in case it ruins a table on some Wikipedia page (or for a myriad of other reasons).  This way, you'll be sure to only get those uses where the template is supposed to be substed.  Have you contacted the user warnings group about this proposal, in case they have anythng to add? Mart inp23  00:08, 18 March 2007 (UTC)
 * As I said in the function details, the list will be filtered to user talk using AWB, and it will only subst templates that I tell it to at the beginning. --TeckWiz Parlate Contribs@ 00:10, 18 March 2007 (UTC)
 * Ooops - missed that bit :). Seems good then -- Mart inp23  00:19, 18 March 2007 (UTC)
 * I've checked all the other bots' contribs. None subst the new templates and one or two aren't running. --TeckWiz Parlate Contribs@ 00:21, 18 March 2007 (UTC)
 * Hagerman bot has been opted out of so that when the bot substs, if it substs an unsigned comment, Hagerman won't sign it as the bot. --TeckWiz Parlate Contribs@ 15:04, 18 March 2007 (UTC)

I'm going to have AWB auto-substitute them in the next release, by the way, so you won't need to use the subst templates feature. — M ETS 501 (talk) 00:18, 19 March 2007 (UTC)
 * That would be great! Thanks! --TeckWiz Parlate Contribs@ 00:19, 19 March 2007 (UTC)
 * Testing done. View contributions here. --TeckWiz Parlate Contribs@ 02:02, 19 March 2007 (UTC)

This bot shall run with a flag. — M ETS 501 (talk) 02:31, 19 March 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.