Wikipedia:Bots/Requests for approval/PrimeBOT 26


 * 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

PrimeBOT 26
Operator:

Time filed: 16:05, Tuesday, February 20, 2018 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): AWB

Source code available: WP:AWB

Function overview: Remove some deprecated parameters in infobox school

Links to relevant discussions (where appropriate): Template talk, my talk, and this TFD (which I'll explain below)

Edit period(s): one time run

Estimated number of pages affected: ~7200 (~6500 plus ~660)

Namespace(s): Article, maybe some User sandboxes and Drafts

Exclusion compliant (Yes/No): yes

Function details: I got a request on my talk page to remove the deprecated/invalid parameters in infobox school usage. Given that there is a rather large merge that will eventually happen with infobox UK school this seems like an opportune time to clean up the category. This task will be twofold:
 * 1) Clean up deprecated parameters:
 * 2) *"approx" -  →
 * 3) *"c_approx" -  →
 * 4) * (case insensitive) →
 * 5) *Convert the following to lowercase:
 * 6) *Remove the following:
 * 7) **motto_pl, founder_pl, specialist_pl, assistant_principal, assistant_principals, assistant principal, Vice Principal, vice principal, asst principal, campus_Bound, viceprincipal, viceprincipal_label, viceprincipal1, viceprincipal2, viceprincipal3, viceprincipal4, vision
 * 8) Unknown parameters
 * 9) *Remove any parameter line that is not one of the 357 listed parameters in the category check
 * 1) **motto_pl, founder_pl, specialist_pl, assistant_principal, assistant_principals, assistant principal, Vice Principal, vice principal, asst principal, campus_Bound, viceprincipal, viceprincipal_label, viceprincipal1, viceprincipal2, viceprincipal3, viceprincipal4, vision
 * 2) Unknown parameters
 * 3) *Remove any parameter line that is not one of the 357 listed parameters in the category check

Discussion
If there are concerns about the second part of this task (blanket unlisted removal) I'm happy to drop that. I added it mostly because I don't think that the deprecated parameter removal alone will cut down on the larger category. However, I know it will catch misspellings (e.g. etsablished) as well as deprecated params. I'm also happy to do only #1 and hold off of #2 unless the total number is still >1000. Primefac (talk) 16:05, 20 February 2018 (UTC)
 * I would recommend removing only the "common" unsupported parameters with a bot, if you can figure out what they are. I have found that unsupported parameters in infoboxes and other templates often tend to be misspellings, which a bot should not remove, or typos of some sort, which require human attention. Would you be willing to run that second task in a supervised/manual mode? – Jonesey95 (talk) 18:48, 20 February 2018 (UTC)
 * Probably, yeah. It really does sort of depend on how many pages get dealt with via task 1. I don't think I've ever seen a "bad param" cat have more than a few hundred pages, so if it ends up with <1000 values after that first run I'd be happy. Primefac (talk) 18:50, 20 February 2018 (UTC)

General comment: It would be really helpful if those parameters can be removed as well as the clean-up and convert to lowercase. I have no experience in this area and greatly appreciate Primefac for doing this. I mentioned the unsupported parameters being a mess. However, it is also because of the merge which I had proposed and has successfully resulted in merge. I'm also happy to sort out the misspellings manually. Steven (Editor) (talk) 22:31, 20 February 2018 (UTC) Is this ready for approval? It's been 7 days too Steven (Editor) (talk) 13:56, 4 March 2018 (UTC) Steven (Editor) (talk) 19:06, 5 March 2018 (UTC
 * For a variety of reasons, I'm not comfortable with wholesale removal of unsupported parameters. Is it feasible to generate a list of unsupported parameters currently in articles with the number of times they appear? I could see approving the removal of the common ones which aren't just misspellings. ~ Rob 13 Talk 07:04, 24 February 2018 (UTC)
 * I have removed the "second part" and will only be removing the specifically-listed deprecated parameters. From a check of the TemplateData numbers, those parameters are used in the majority of the flagged pages. Primefac (talk) 22:36, 24 February 2018 (UTC)
 * ~ Rob 13 Talk 01:02, 25 February 2018 (UTC)
 * . I do apologize, spaced out for a second and didn't realize I'd already hit 50, so I ended up with 52 edits. Primefac (talk) 18:15, 25 February 2018 (UTC)


 * Task approved. — xaosflux  Talk 15:50, 30 March 2018 (UTC)


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