Now that both core and ve-mw define manifests as json files, we should be able to remove the duplication of having core files listed in both modules.json and extension.json. This will probably require some upstream changes to modules.json as extension.json fragments some features further, e.g. image files are grouped together.
Description
Description
Related Objects
Related Objects
- Mentioned In
- T291527: Merge single use VisualEditor ResourceLoader modules to reduce module count
- Mentioned Here
- T202154: Audit modules 2018: Reduce registry overhead
T75964: Load VisualEditor file from modules.json as a manifest, rather than tediously copying it into extension.json
T149577: Ensure VE-core's modules.json groups are a subset of VE-MW's extension.json ones
Event Timeline
Comment Actions
To further the goals of T202154 (reducing ResourceLoader module count) we could also whitelist modules which we actually need to be a public API, and flatten the others so they are never exposed to ResourceLoader.
VE currently creates 62 modules but probably needs about 10-20 of those to be independently loadable.