TUT/2/ResourceLoader/CoreModules

{{:TUT/Background/3 Some of the Core Modules
 * challengeHeading =
 * message =

mediawiki
mw.config The MediaWiki software exposes a number of configuration values in this object. Config values include wgServer, wgVersion, wgDBname, etc.

mw.loader.load Load one or more modules, a script or a stylesheet.

mw.loader.using Load one or more modules, and execute a function once those modules are loaded. and so on...

mediawiki.util
mw.util.addCSS Adds a element to the HEAD and returns the CSSStyleSheet object.

mw.util.addPortletLink Facilitates the addition and customization of links in Portlet areas. and so on...

jquery
This is a base module that provides the functionality of jQuery. It simplifies cross-browser development and ships with all the properties, methods, and APIs that are provided by jQuery. }}