Last modified: 2014-08-23 14:43:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 63587 - ResourceLoader: Avoid making a separate request for the site module
ResourceLoader: Avoid making a separate request for the site module
Status: NEW
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: performance
Depends on:
  Show dependency treegraph
Reported: 2014-04-06 03:26 UTC by Ori Livneh
Modified: 2014-08-23 14:43 UTC (History)
5 users (show)

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


Description Ori Livneh 2014-04-06 03:26:29 UTC
As far as I know, the reason for loading the site module in a separate request is that it needs to execute in global context, rather than in a standard module closure, but we can work around it by using $.globalEval.

Regardless of whether or not that is the reason, let's figure out how to load it along with other modules, and save ourselves a request in the critical path.

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