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.
Function details: Remove deprecated parameters |notable_instruments=, |alma_mater=, |children=, |country=, |education=, |ethnicity=, |height=, |influences=, |nationality=, |parents=, |religion=, |residence=, and |spouse= from {{infobox musical artist}}, which had been used outside its intended purpose. Removing anything that matches \|[\s]*notable_instruments[\s]*=[\s]*(?:(?:\{\{[^}]*?}})|(?:\[\[.*?]])|[^\|}])*. This will only be run on pages that transclude the above template.
Nihlus: Do you have any interest in expanding the scope of this bot task to remove other unsupported parameters? Common ones listed in the monthly report are |Alma_mater=, |Children=, |Country=, |Education=, |Ethnicity=, |Height=, |Influences=, |Nationality=, |Parents=, |Religion=, |Residence=, |Spouse= (case-insensitive). – Jonesey95 (talk) 11:25, 5 October 2017 (UTC)[reply]
@Jonesey95: Sure can. It might take a tiny bit longer since it's going to run multiple regex searches, but I'm in no hurry. Will this fix the 6,907 listed in the category? Might as well try to get as many as I can while I go through 96,000 pages. Nihlus11:35, 5 October 2017 (UTC)[reply]
Looking into it a litter deeper, a lot of those seem to be parameters without =. That might be better handled elsewhere for legitimate parameters. I can still do the ones above, though. Nihlus11:58, 5 October 2017 (UTC)[reply]
Doing the above will fix many hundreds of the pages in the unknown parameter error category, but a bot should be careful in trying to fix errors where the = is missing. The bot is probably safe to fix (untested regex follows:) \|%s*thumb%s*\| -> \| as in this edit. It looks like there are hundreds of those stray "thumb"s. – Jonesey95 (talk) 12:09, 5 October 2017 (UTC)[reply]
Yeah, I don't trust my bot to fix the = issues. The thumbs issue could be fixed with \|[\s]*thumb[\s]*\n, which should avoid any valid placement within File code, but I should probably save that for a more dedicated task (there would be issues with imagemaps and whatnot). Nihlus12:23, 5 October 2017 (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.