Operator: Primefac (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
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:
(established\s*)=([\s\S]*)\|\s*approx\s*=\s*.*?\n
→ $1=c. $2
(closed\s*)=([\s\S]*)\|\s*c_approx\s*=\s*.*?\n
→ $1=c. $2
(feeder_schools|main feeder schools)
→feeders
number.of.pupils
→pupils
classes offered
(case insensitive) → classes_offered
(({Opened))}
, (({Location))}
, (({Region))}
, (({Number))}
, (({Principal))}
, (({Years))}
, (({Students))}
, (({International_Students))}
, (({System))}
, (({Hours_in_Day))}
, (({Campuses))}
, (({National_ranking))}
, (({Graduates))}
|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=
#Unknown parameters
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)[reply]
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)[reply]
@BU Rob13: Is this ready for approval? It's been 7 days too Steven (Editor) (talk) 13:56, 4 March 2018 (UTC) ((BAGAssistanceNeeded)) Steven (Editor) (talk) 19:06, 5 March 2018 (UTC[reply]