Manual:Hooks/ResourceLoaderGetLessVars

Details
Instead of using $wgResourceLoaderLESSVars to add Less variables, use this hook if you need to add variables, that are context-based.


 * &$lessVars - An array of already added variables, which can be extended