OutputPage: Do not try to load non-existent 'oojs-ui.styles.icons' module
[lhc/web/wiklou.git] / resources / ResourcesOOUI.php
index 9339e98..c9b5d89 100644 (file)
@@ -30,7 +30,7 @@ return call_user_func( function () {
        $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 ) {
@@ -67,7 +67,6 @@ return call_user_func( function () {
                'dependencies' => [
                        'oojs',
                        'oojs-ui-core.styles',
-                       'oojs-ui.styles.icons',
                        'oojs-ui.styles.indicators',
                        'oojs-ui.styles.textures',
                        'mediawiki.language',