A partial archive of https://discourse-mediawiki.wmflabs.org as of Saturday May 21, 2022.

Redefining extension less variables from skins

daegontaven

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?