ResourceLoader/Vocabulary

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


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

Module bundles

 * module:A bundle of one or more resources, identified by a module name.
 * resource: Any part of a module (script file, stylesheet, interface message).
 * message blob:One or more interface messages in a given language, encoded using JSON.
 * dependencies: One or more other modules that must load before current module.
 * target: A (now deprecated) mechanism for instructing the server to omit some of the defined modules from the client-side registry. See also: Target system.
 * registry (server-side): Modules defined by MediaWiki core and extensions, that can be queued via OutputPage.php. See also: RL/DEV#Loading modules.
 * registry (client-side): Modules available to the current browser context. This is a subset of modules defined server-side. Several mechanisms and optimisations reduce which module's metadata end up transmitted to the client-side. This includes the Target system,,   (ResourceLoader/ES6), and which skin is selected (T236603).
 * origin: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 or  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.