Wikipedia:Bots/Requests for approval/Kumi-Taskbot 7
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Revoked.
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Approved.
Operator: Kumioko (talk · contribs)
Time filed: 14:50, Sunday February 12, 2012 (UTC)
Automatic-unsupervised, Automatic-supervised, or Manual: Automatic-unsupervised
Programming language(s): C#, AWB, REGEX
Source code available: Yes, See function details
Function overview: Add WikiProject banners to United States related WikiProject banners that need them
Links to relevant discussions (where appropriate): This is a commonly requested function and has been approved in the past based on Widespread need and prevalent consensus.
Edit period(s): Continuous
Estimated number of pages affected: about 25, 000 but it varies by project
Exclusion compliant (Y/N): Y
Already has a bot flag (Y/N): Y
Function details: This bot will tag articles that currently do not have it with the WikiProject United States banner and the individual related project. For example: Texas, Austin, Nebraska, North Carolina, etc.
A full list can be seen on the WikiProject United States project page under supported projects. The approximate code is as follows:
//Add WikiProject United States banner if missing
Regex header = new Regex(@"\{\{WikiProject United States}}", RegexOptions.IgnoreCase);
Summary = "Adding {{WikiProject United States}}";
Skip = (header.Match(ArticleText).Success || !Namespace.IsTalk(ArticleTitle));
if (!Skip)
ArticleText = "{{WikiProject United States}} \r\n\r\n" + ArticleText;
This task is similar to one of the tasks requested in Kumi-Taskbot task 4 however that only requested approval for United States specific articles and this requests permission to tag other WPUS supported projects articles.
to clarify, each project tagging list will be run separately, by project. This does mean that some articles will be touched more than once but the edit summary will be clearer. Rather than saying its tagging I will be able to say what project making it more apparent to the reader.
--Kumioko (talk) 14:50, 12 February 2012 (UTC)[reply]
Discussion
[edit]Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. MBisanz talk 16:01, 12 February 2012 (UTC) Trial complete.[reply]
- Thanks for the quick response. Trial is completed and here is the link to the run: Trial run #1.
- I used North Dakota this time but if you need me to run another one just let me know. I just noticed I said assess in the summary btu I'll remove that. I am still working out the assessment logic.--Kumioko (talk) 16:35, 12 February 2012 (UTC)[reply]
- If you could re-run it on a mix of two others so I can see how it handles the switch between taggings, I would appreciate it. Whatever number of edits you think is easy to do. MBisanz talk 23:35, 12 February 2012 (UTC)[reply]
- Sure no problem. I'll do that shortly but just to help with that the switch is manual. The code can' tell one from the next, I have to do it by group so I only intend to do one group at a time. --23:53, 12 February 2012 (UTC)
- In that case, I'm satisfied with its current performance. MBisanz talk 23:56, 12 February 2012 (UTC)[reply]
- Sure no problem. I'll do that shortly but just to help with that the switch is manual. The code can' tell one from the next, I have to do it by group so I only intend to do one group at a time. --23:53, 12 February 2012 (UTC)
- If you could re-run it on a mix of two others so I can see how it handles the switch between taggings, I would appreciate it. Whatever number of edits you think is easy to do. MBisanz talk 23:35, 12 February 2012 (UTC)[reply]
Approved. MBisanz talk 23:56, 12 February 2012 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.
Revoked. Per consensus at [1]. — madman 15:22, 18 February 2012 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.