Jump to navigation Jump to search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
Resource loader: $wgResourceLoaderSources
Foreign module sources registry.
Introduced in version: 1.19.0 (r93247)
Removed in version: still in use
Allowed values: array
Default value: array()
Other settings: Alphabetical | By function


Extensions can register foreign module sources here. The default "local" source for modules from the local wiki is not set in this array. Instead that one is defined by ResourceLoader::__construct() so that it cannot be unset or overwritten.


$wgResourceLoaderSources['foo'] = array(
    'loadScript' => '',
    'apiScript' => ''