MMV currently exposes all its methods on the mw.mmv object. This makes the code harder to follow and is not inline with current coding standards.
On the long term this work should make it easier to reduce the number of modules in the extension.
TODO
- Switch mmv
- Switch mmv.ui.ondemandshareddependencies
- switch mmv.ui.download.pane
- Switch mmv.ui.reuse.shareembed
- Switch mmv.bootstrap
- Switch mmv.bootstrap.autostart
- Switch mmv.head
Here is an example in PageTriage: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/PageTriage/+/917967