Search results
Appearance
Create the page "ResourceLoader/Using with extensions" on this wiki! See also the search results found.
- create and load module bundles of CSS and JavaScript files, with ResourceLoader in MediaWiki. On every page view, the JavaScript runtime starts with a registry...20 KB (2,650 words) – 17:31, 16 March 2026
- ResourceLoader is the delivery system in MediaWiki for JavaScript, CSS, interface icons, and localisation text. It was first deployed to Wikipedia in 2011...3 KB (268 words) – 04:51, 12 October 2025
- space, memory usage, CPU load, number of servers, etc.) These are inspired by the W3C Design Principles. ResourceLoader works with a concept of modules....58 KB (7,975 words) – 09:45, 16 January 2026
- out ResourceLoader/Developing with ResourceLoader#Registering to learn how to do that. You can access messages specified in your resource module using the...11 KB (1,530 words) – 05:52, 26 December 2024
- and extensions. Since MediaWiki 1.38 this feature is also supported in ResourceLoaderWikiModule, and the Gadgets extension was updated to make use of this...80 KB (7,611 words) – 22:40, 13 July 2026
- Package files can be used with a ResourceLoader module to bundle multiple script files and data exports, accessible client-side via require(). To enable...20 KB (2,258 words) – 10:43, 12 November 2025
- if ( mw.config.get( 'wgPageName' ) === 'ResourceLoader' ) { // Do stuff... } // Access multiple ones for use throughout a larger code base. // Returns...73 KB (5,847 words) – 05:42, 15 August 2026
- provides guidance on developing ResourceLoader modules to run in mobile site as provided by the MobileFrontend extension. When building JS/CSS we need to...10 KB (1,474 words) – 22:16, 30 January 2024
- loaded through ResourceLoader. Prior to that and since MediaWiki 1.36, you can use ES6 in JavaScript code that is loaded through ResourceLoader. ES6 code will...5 KB (590 words) – 10:46, 7 January 2026
- configuration option must not be used by extensions. They should use the skinStyles property of their own ResourceLoader modules to provide per-skin styles...8 KB (737 words) – 02:44, 16 August 2026
- $wgExtensionAssetsPath , $wgResourceLoaderMaxage ResourceLoaderRegisterModules hook Developing with ResourceLoader – Learn how to use ResourceLoader in MediaWiki...824 bytes (88 words) – 18:26, 10 January 2024
- Web requests to load.php may set values for context keys. ResourceLoader does this when it creates load.php URLs in HTML (via RL\ClientHtml and OutputPage)...4 KB (515 words) – 14:03, 15 November 2024
- in a mw.loader.using( … ) call, as always when loading modules. See ResourceLoader documentation for instructions. Example: mw.loader.using( 'oojs-ui-core'...15 KB (1,105 words) – 19:57, 9 August 2026
- ResourceLoader.php: Unsupported operand types #0 includes/resourceloader/ResourceLoader.php(891): ResourceLoader->tryRespondFromFileCache(ResourceFileCache...3 KB (252 words) – 18:25, 1 December 2025
- The ResourceLoaderArticles extension allows the content of multiple pages to be loaded through ResourceLoader. Download and place the file(s) in a directory...2 KB (59 words) – 21:45, 14 April 2024
- 00:47:01 Links: video • slides General overview and introduction for ResourceLoader. alternate video Low-hanging fruit vs. micro-optimization Event: OSCON...2 KB (95 words) – 19:27, 16 April 2025
- of extensions using this hook, see Category:ResourceLoaderRegisterModules extensions. $resourceLoader - The ResourceLoader object. ResourceLoaderModule...1 KB (190 words) – 12:34, 21 March 2026
- The current version of the Gadgets extension already supports using ResourceLoader (instead of the legacy loader). So this can be done *today* and will...3 KB (377 words) – 01:56, 30 August 2019
- defined by ResourceLoader::__construct() so that it cannot be unset or overwritten. Example: $wgResourceLoaderSources['foo'] = array( 'loadScript' => 'http://example...957 bytes (57 words) – 02:09, 13 June 2021
- of extensions using this hook, see Category:ResourceLoaderGetConfigVars extensions. ResourceLoaderStartUpModule::getConfig() runs this hook. Use it to...2 KB (145 words) – 12:33, 21 March 2026