The multi-level registry object in mw.loader is a local ("private") variable.
A public method to get the names as an array is very useful as currently there is no way to verify what went through mw.loader.register().
This functionality is also needed by the Gadget Manager in order to do autocompletion for module names.
Version: unspecified
Severity: normal