Foxtrott has uploaded a new change for review.
https://gerrit.wikimedia.org/r/111335
Change subject: Switch from MW provided less compiler object to self-created one
......................................................................
Switch from MW provided less compiler object to self-created one
The one from MW is borked (see bug 60368 and change Ia193571a)
Change-Id: If04f8bf7e42db9c390ed04b833f662c8e72ec54a
---
M ResourceLoaderBootstrapModule.php
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Bootstrap
refs/changes/35/111335/1
diff --git a/ResourceLoaderBootstrapModule.php
b/ResourceLoaderBootstrapModule.php
index 6dc00cf..e6f972d 100644
--- a/ResourceLoaderBootstrapModule.php
+++ b/ResourceLoaderBootstrapModule.php
@@ -25,6 +25,7 @@
namespace Bootstrap;
+use lessc;
use ResourceLoader;
use ResourceLoaderContext;
use ResourceLoaderFileModule;
@@ -96,7 +97,7 @@
wfDebug( "ext.bootstrap: Cache miss: Styles not
found in cache.\n" );
}
- $compiler = ResourceLoader::getLessCompiler();
+ $compiler = new lessc();
// prepare a temp file containing all the variables to
load
// have to use a temp file for variables because inline
variables do not overwrite @import'ed variables even if
--
To view, visit https://gerrit.wikimedia.org/r/111335
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If04f8bf7e42db9c390ed04b833f662c8e72ec54a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Bootstrap
Gerrit-Branch: master
Gerrit-Owner: Foxtrott <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits