Wikimedia Developer Support

Redefining extension less variables from skins



I’m trying to redefine variables in an extension’s less file that is not registered with ResourceLoader. The onResourceLoaderGetLessVars hook is depreciated and does’t seem to actually work 1. The current less file I’m trying to redefine is the Echo extension. However since it’s a less file I’m not sure if it’s supposed to be usually registered as a ResourceModule in extension.json. Either ways, is it possible for me easlily redefine these variables from my skin without having to manually override all the css classes?