https://bugzilla.wikimedia.org/show_bug.cgi?id=30160

       Web browser: ---
             Bug #: 30160
           Summary: Add public method to mw.loader to get module names
                    from registry
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: ASSIGNED
          Severity: normal
          Priority: Unprioritized
         Component: Javascript
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
            Blocks: 29272, 29398
    Classification: Unclassified


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to