We have an obscene number of RL modules; I count 1196 on enwiki right now. I broke these down into groups based on prefix, so we can look at where the biggest problems are:
Main culprits IMO:
- ext.geshi has one module per syntax highlighting language. I'm not sure how avoidable that is; maybe we can come up with a way to do parameterized modules here, or maybe we can make disable most of the 142 supported languages in wmf-config
- wikibase appears to have one module per class, plus foo.__namespace modules; there could be some easy gains here by combining modules whose separation isn't needed in practice
- The same pattern, at a smaller scale, appears to be happening in mmv (MultimediaViewer)
- There are 79 mobile.* modules; there doesn't seem to be a clear pattern or one clear offender, but I suppose we could ask the mobile web team to see if things can be trimmed there
Smaller things:
- There are 61 modules with 'style' in their name; not all of them are addModuleStyles-only, but some of them are, and those we could avoid listing in the startup module
- We could audit to see if all 45 schema modules are in use
- I'm unconvinced that extensions like VE, Gather, ULS, Flow and EducationProgram really need 20-30 modules each, those could be audited and trimmed too