Currently, ResourceLoader modules use global config variables; they should rather get them from the local Config object.
- ResourceLoader.php:
- $wgShowExceptionDetails in static formatException().
- $wgResourceLoaderDebug and $wgRequest in static inDebugMode().
- ResourceLoaderContext.php
- $wgLanguageCode in getLanguage() as fallback.
- ResourceLoaderFileModule.php: $IP, $wgResourceBasePath, $wgExtensionAssetsPath.
- ResourceLoaderImage.php: $wgSVGConverter, $wgSVGConverterPath.
- ResourceLoaderModule.php: $wgContLang in getFlip().
- ResourceLoaderStartUpModule.php:
- $wgContLang in getConfigSettings().
- $wgIncludeLegacyJavaScript in getLegacyModules(). - T130879