Last modified: 2011-08-24 18:28:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32160, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30160 - Add public method to mw.loader to get module names from registry
Add public method to mw.loader to get module names from registry
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Krinkle
:
Depends on:
Blocks: gadgets-2.0 29398
  Show dependency treegraph
 
Reported: 2011-08-01 12:00 UTC by Krinkle
Modified: 2011-08-24 18:28 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Krinkle 2011-08-01 12:00:38 UTC
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.
Comment 1 Krinkle 2011-08-24 18:28:08 UTC
Fixed in r93653.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links