Manual:$wgResourceLoaderSources/de

Category:MediaWiki configuration settings/de#ResourceLoaderSourcesCategory:MediaWiki configuration settings introduced in version 1.19.0/de#ResourceLoaderSourcesCategory:MediaWiki configuration settings still in use/de#ResourceLoaderSourcesCategory:Resource loader variables/de#ResourceLoaderSources
ResourceLoader: $wgResourceLoaderSources
Foreign module sources registry.
Eingeführt in Version:1.19.0 (r93247)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Array)
Standardwert:[]

Details

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.

Beispiel:

$wgResourceLoaderSources['foo'] = array(
    'loadScript' => 'http://example.org/w/load.php',
    'apiScript' => 'http://example.org/w/api.php'
);
Category:MediaWiki configuration settings/de Category:MediaWiki configuration settings introduced in version 1.19.0/de Category:MediaWiki configuration settings still in use/de Category:Resource loader variables/de