$themes = ExtensionRegistry::getInstance()->getAttribute( 'SkinOOUIThemes' );
// We only use the theme names for file names, and they are lowercase
$themes = array_map( 'strtolower', $themes );
- $themes['default'] = 'mediawiki';
+ $themes['default'] = 'wikimediaui';
// Helper function to generate paths to files used in 'skinStyles' and 'skinScripts'.
$getSkinSpecific = function ( $module, $ext = 'css' ) use ( $themes ) {
],
'skinScripts' => $getSkinSpecific( null, 'js' ),
'dependencies' => [
- 'es5-shim',
'oojs',
'oojs-ui-core.styles',
+ 'oojs-ui.styles.indicators',
+ 'oojs-ui.styles.textures',
'mediawiki.language',
],
'targets' => [ 'desktop', 'mobile' ],
'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.