Allow adding of context-based LESS Variables
authorFlorianschmidtwelzow <florian.schmidt.welzow@t-online.de>
Sun, 1 Feb 2015 21:37:34 +0000 (22:37 +0100)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Tue, 10 Feb 2015 21:25:37 +0000 (16:25 -0500)
commit6d9bb5d0d5fd09969b1a0889a9267205b88cc7b6
tree51cfe9e0c3aae058fdb4cca5e1480aeb60b1ec2e
parent9ed54bba0116f54f49ff2e8567960da2e021e549
Allow adding of context-based LESS Variables

Add new hook (ResourceLoaderGetLessVars) called in ResourceLoader::getLessVars to
allow context-based less variables. Cache the resulting array to avoid multiple runs
of this hook.

Change-Id: I5a73bbd0ab58f8fe34519931c4f26c90998e3451
docs/hooks.txt
includes/DefaultSettings.php
includes/resourceloader/ResourceLoader.php