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 Approved.
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
[edit]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 Wikipedia:SUBST#See_also for details, and a source of templates which need substing. Martinp23 23:59, 17 March 2007 (UTC)[reply]
- 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 ParlateContribs@ 00:04, 18 March 2007 (UTC)[reply]
- 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? Martinp23 00:08, 18 March 2007 (UTC)[reply]
- 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 ParlateContribs@ 00:10, 18 March 2007 (UTC)[reply]
- Ooops - missed that bit :). Seems good then -- Martinp23 00:19, 18 March 2007 (UTC)[reply]
- I've checked all the other bots' contribs. None subst the new templates and one or two aren't running. --TeckWiz ParlateContribs@ 00:21, 18 March 2007 (UTC)[reply]
- 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 ParlateContribs@ 15:04, 18 March 2007 (UTC)[reply]
- Ooops - missed that bit :). Seems good then -- Martinp23 00:19, 18 March 2007 (UTC)[reply]
- 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 ParlateContribs@ 00:10, 18 March 2007 (UTC)[reply]
- 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? Martinp23 00:08, 18 March 2007 (UTC)[reply]
Approved for trial. Please provide a link to the relevant contributions and/or diffs when the trial is complete. 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. —METS501 (talk) 00:18, 19 March 2007 (UTC)[reply]
Approved. This bot shall run with a flag. —METS501 (talk) 02:31, 19 March 2007 (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.