X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2FResourcesOOUI.php;h=c3a287dc8d28bb2b0c5cb12cfebbfaa59b661ede;hb=1855b6ff905c5c848085c8f85756eb046560962b;hp=b31fe829f8775fc04c0b1336415ab144dc2a8993;hpb=0421ab1e9eda6e22ba9a12c73dbb969c337ed9e9;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/ResourcesOOUI.php b/resources/ResourcesOOUI.php index b31fe829f8..c3a287dc8d 100644 --- a/resources/ResourcesOOUI.php +++ b/resources/ResourcesOOUI.php @@ -68,6 +68,9 @@ return call_user_func( function () { 'es5-shim', 'oojs', 'oojs-ui-core.styles', + 'oojs-ui.styles.icons', + 'oojs-ui.styles.indicators', + 'oojs-ui.styles.textures', 'mediawiki.language', ], 'targets' => [ 'desktop', 'mobile' ], @@ -78,14 +81,6 @@ return call_user_func( function () { 'styles' => 'resources/src/oojs-ui-local.css', // HACK, see inside the file 'skinStyles' => $getSkinSpecific( 'core' ), 'targets' => [ 'desktop', 'mobile' ], - // ResourceLoaderImageModule doesn't support 'skipFunction', so instead we set this up so that - // this module is skipped together with its dependencies. Nothing else depends on these modules. - 'dependencies' => [ - 'oojs-ui.styles.icons', - 'oojs-ui.styles.indicators', - 'oojs-ui.styles.textures', - ], - 'skipFunction' => 'resources/src/oojs-ui-styles-skip.js', ]; // Additional widgets and layouts module.