https://bugzilla.wikimedia.org/show_bug.cgi?id=64595

Kevin Israel (PleaseStand) <pleasest...@live.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jrob...@wikimedia.org,
                   |                            |pleasest...@live.com

--- Comment #3 from Kevin Israel (PleaseStand) <pleasest...@live.com> ---
(In reply to Daniel Friesen from comment #2)
> (In reply to Bartosz DziewoƄski from comment #1)
> > Sounds exactly like bug 60368.

Yes, this is exactly the same issue, though with a better summary. I'm not sure
which one should be marked as a duplicate.

This happens for two reasons:

a) The skins/vector directory, which contains such a generic filename as
"variables.less", is in $wgResourceLoaderLESSImportPaths. If it is really
necessary to include this file from other directories, the filename ought to be
prefixed somehow (e.g. @import "skins/vector/variables.less").

b) lessc adds the including file's directory to its importDir array *after* the
entries from $wgResourceLoaderLESSImportPaths.

> Maybe, if using "./variables" behaves like "variables" and doesn't bypass
> the include path.

I don't see any special handling of "./" in the lessc source code.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to