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.
 * 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.