X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fresourceloader%2FResourceLoaderOOUIImageModule.php;h=5c9e1d94ae0a5867a76113a1ee50dcc0a8a00ae5;hp=ee87d8d8e892f217112cfc047e40a495780473b0;hb=74426f3cf796b149f1ae445e41815bbe148640b2;hpb=72514f50d55bd5b8107fdf1925ae012d6dae42a4 diff --git a/includes/resourceloader/ResourceLoaderOOUIImageModule.php b/includes/resourceloader/ResourceLoaderOOUIImageModule.php index ee87d8d8e8..5c9e1d94ae 100644 --- a/includes/resourceloader/ResourceLoaderOOUIImageModule.php +++ b/includes/resourceloader/ResourceLoaderOOUIImageModule.php @@ -98,11 +98,8 @@ class ResourceLoaderOOUIImageModule extends ResourceLoaderImageModule { // Extra selectors to allow using the same icons for old-style MediaWiki UI code if ( substr( $module, 0, 5 ) === 'icons' ) { $definition['selectorWithoutVariant'] = '.oo-ui-icon-{name}, .mw-ui-icon-{name}:before'; - $definition['selectorWithVariant'] = ' - .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:before, - /* Hack for Flow, see T110051 */ - .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, - .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before'; + $definition['selectorWithVariant'] = '.oo-ui-image-{variant}.oo-ui-icon-{name}, ' . + '.mw-ui-icon-{name}-{variant}:before'; } // Fields from module definition silently override keys from JSON files