Web requests to load.php can specify values for these; ResourceLoader does so when it inserts load.php URLs in the HTML and JavaScript that it generates. PHP server code can retrieve their values through getDebug/Skin/Language() methods of ResourceLoaderContext. In the browser these usually map to debug, skin, and wgUserLanguage configuration values in mw.config.

Also known as Development mode. See Debug mode for more information.
The ID of the skin that the requesting page uses.
The language code of the interface that the requesting page is displayed in.

Module bundlesEdit

A bundle of one or more resources, identified by a module name.
Any part of a module (script file, stylesheet, interface message).
message blob
One or more interface messages in a given language, encoded using JSON.
One or more other modules that must load before current module.
The authority that the resources of a module originate from. This is used to determine whether a module is allowed in contexts with heightened security requirements. For example, user- or site-generated module code is not allowed on the Special:UserLogin or Special:Preferences pages. This can be one of four values:
  • Core-Sitewide: Source code developed as part of trusted software (MediaWiki core, skin or extension).
  • Core-Individual: Auto-generated by trusted software for an individual user (e.g. user preferences blob).
  • User-Sitewide: Raw source code provided directly by end-users of the wiki who have site-wide permissions (e.g. Common.js, or a gadget).
  • User-Individual: Raw source code provided directly by an individual user, not assumed to from a user with sitewide authority.