Wikipedia:Bots/Requests for approval/Cewbot 5
- 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.
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: Kanashimi (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 11:51, Friday, May 8, 2020 (UTC)
Function overview: Normalize {{Multiple issues}}: Condense multiple maintenance templates into {{Multiple issues}}, and extract single maintenance template from {{Multiple issues}}.
Automatic, Supervised, or Manual: Automatic
Programming language(s): wikibot on GitHub
Source code available: 20150916.Multiple issues.v3.js on GitHub
Links to relevant discussions (where appropriate): Wikipedia:Bot_requests#A bot that condenses article issue templates into the ‘multiple issues’ template
Edit period(s): weekly
Estimated number of pages affected: ~100/week
Namespace(s): Main
Exclusion compliant (Yes/No): Yes
Function details:
Discussion
editThe bot have running on zhwiki from 2005. Please check the sample edits (searching for "cewbot: 規範多個問題模板"). --Kanashimi (talk) 11:51, 8 May 2020 (UTC)[reply]
- Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Just please remember to have English edit summaries for the enwiki version. --TheSandDoctor Talk 23:28, 9 May 2020 (UTC)[reply]
- Trial complete. Please see here. The major problem is the definition of maintenance templates, and it is configurable. All the maintenance templates that will be merged are listed in User:Cewbot/log/20150916/configuration#maintenance template list. --Kanashimi (talk) 09:01, 13 May 2020 (UTC)[reply]
- There are additional maintenance templates due to redirects. For example
{{Unreliable sources}}
is known by many names. -- GreenC 14:54, 19 May 2020 (UTC)[reply]- Thank you forthe comments. The bot will get all the redirects of maintenance template. --Kanashimi (talk) 21:39, 20 May 2020 (UTC)[reply]
- I've found some issues where the bot is moving templates inappropriately; 1, 2, 3, 4. I'd like to see if the problems and additional notes have been dealt with before sending back to an extended trial. Primefac (talk) 18:04, 22 May 2020 (UTC)[reply]
- @Primefac: The error was fixed after the bad edits: 1, 2, 4. For 3, it is easy to remove the Merge* templates from User:Cewbot/log/20150916/configuration#maintenance template list. --Kanashimi (talk) 18:40, 22 May 2020 (UTC)[reply]
- {{BotExtendedTrial}} Primefac (talk) 19:51, 22 May 2020 (UTC)[reply]
- I removed some more. Has the list not been verified? This was a random spot check. Also cases like
{{Inappropriate person}}
it is sometimes use in sections. There are many like this where sometimes the template belongs in sections, and sometimes at the top of page. -- GreenC 20:25, 22 May 2020 (UTC)[reply]- Apologies for doing this, Kanashimi, but I'm going to pull this from extended trial for now, based on the further concerns about the wrong templates being on the list. Please get it verified and/or check with the AWB folks about their list (as I seem to recall it's one of the built-in genfixes) and post here when that is completed. Primefac (talk) 20:32, 22 May 2020 (UTC)[reply]
- Agreed. One easy way to do this is create a page in userspace with an instance of each tempalte and it will quickly be seen which does not belong. For the templates with "section" arguments, automate a search of the template documentation space for the word "section" to narrow down possible cases of templates that have a section argument. -- GreenC 20:44, 22 May 2020 (UTC)[reply]
- If you don't mind I set up a test page at User:Cewbot/log/20150916/configuration/test and can see a bunch that should be removed. -- GreenC 20:54, 22 May 2020 (UTC)[reply]
- @GreenC: Thank you very much! It's a very good idea! The bot only search the root elements, till the first section title. It will not touch the templates in sections. I have updated the list, and it looks like all the templates have normal exterior now. @Primefac: Wikipedia:AutoWikiBrowser/Dated templates is more complete, but it includes too many templates must to be excluded. For example, {{When}}. The list User:Cewbot/log/20150916/configuration#maintenance template list is checked now. --Kanashimi (talk) 22:34, 22 May 2020 (UTC)[reply]
- I verified and the list looks good. Also good that it stops at the first section break. Thank you for making and running this bot! -- GreenC 00:20, 23 May 2020 (UTC)[reply]
- @GreenC: Thank you very much! It's a very good idea! The bot only search the root elements, till the first section title. It will not touch the templates in sections. I have updated the list, and it looks like all the templates have normal exterior now. @Primefac: Wikipedia:AutoWikiBrowser/Dated templates is more complete, but it includes too many templates must to be excluded. For example, {{When}}. The list User:Cewbot/log/20150916/configuration#maintenance template list is checked now. --Kanashimi (talk) 22:34, 22 May 2020 (UTC)[reply]
- If you don't mind I set up a test page at User:Cewbot/log/20150916/configuration/test and can see a bunch that should be removed. -- GreenC 20:54, 22 May 2020 (UTC)[reply]
- Agreed. One easy way to do this is create a page in userspace with an instance of each tempalte and it will quickly be seen which does not belong. For the templates with "section" arguments, automate a search of the template documentation space for the word "section" to narrow down possible cases of templates that have a section argument. -- GreenC 20:44, 22 May 2020 (UTC)[reply]
- Apologies for doing this, Kanashimi, but I'm going to pull this from extended trial for now, based on the further concerns about the wrong templates being on the list. Please get it verified and/or check with the AWB folks about their list (as I seem to recall it's one of the built-in genfixes) and post here when that is completed. Primefac (talk) 20:32, 22 May 2020 (UTC)[reply]
- I removed some more. Has the list not been verified? This was a random spot check. Also cases like
- {{BotExtendedTrial}} Primefac (talk) 19:51, 22 May 2020 (UTC)[reply]
- @Primefac: The error was fixed after the bad edits: 1, 2, 4. For 3, it is easy to remove the Merge* templates from User:Cewbot/log/20150916/configuration#maintenance template list. --Kanashimi (talk) 18:40, 22 May 2020 (UTC)[reply]
- Approved for extended trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Thanks for the work on this. Primefac (talk) 15:11, 29 May 2020 (UTC)[reply]
- Trial complete. The situation in TVS Supercharger, John Popadiuk is solved and the others seem good. --Kanashimi (talk) 01:26, 30 May 2020 (UTC)[reply]
- @Kanashimi: What happened with this edit? There is more than one issue template there yet the bot removed {{multiple issues}}? --TheSandDoctor Talk 18:49, 30 May 2020 (UTC)[reply]
- @TheSandDoctor: The {{Recentism}} is not in the maintenance template list. I have added the template to the list, and the kind of tearing down will not happen again. --Kanashimi (talk) 22:13, 30 May 2020 (UTC)[reply]
- (edit conflict) Thank you, Kanashimi. --TheSandDoctor Talk 22:38, 30 May 2020 (UTC)[reply]
- @TheSandDoctor: The {{Recentism}} is not in the maintenance template list. I have added the template to the list, and the kind of tearing down will not happen again. --Kanashimi (talk) 22:13, 30 May 2020 (UTC)[reply]
- @Kanashimi: What happened with this edit? There is more than one issue template there yet the bot removed {{multiple issues}}? --TheSandDoctor Talk 18:49, 30 May 2020 (UTC)[reply]
- Trial complete. The situation in TVS Supercharger, John Popadiuk is solved and the others seem good. --Kanashimi (talk) 01:26, 30 May 2020 (UTC)[reply]
Approved. Please just add this task to User:Cewbot. Under normal circumstances, I would prefer to leave the close for someone else. However, given the backlog, lack of recent BAG activity (myself included), and the fact that this task is uncontroversial and based on how well the trial went, I am inclined to make an exception for this. As per usual, if amendments to - or clarifications regarding - this approval are needed, please start a discussion on the talk page and ping. --TheSandDoctor Talk 22:38, 30 May 2020 (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.