I just want to check on folks to see if there's any more comments or issues with this RfC: https://www.mediawiki.org/wiki/Requests_for_comment/LESS
Basically, this adds a stylesheet preprocessor for ResourceLoader styles specified as '.less' files; currently no on-wiki or gadget handling is included, so there are not security issues with LESS @import rules. LESS <http://lesscss.org/> is pretty handy and is used by a number of our extensions to make styles more maintainable (set constants, do math, make combined rules for things like -webkit-blah). Direct LESS support in core will do away with the precompilation step during development. There's a patch implementing it in core: https://gerrit.wikimedia.org/r/#/c/78669/ and a sample patch updating MobileFrontend to use it: https://gerrit.wikimedia.org/r/#/c/84139/ Open questions: * Are there any remaining problems with the caching and dependency checks? * What's the best way to handle image embedding? (/* @embed */ rules get messed up but we can use an alternate function...) -- see notes on gerrit * ...any other concerns with performance, security, or basic functionality? -- brion _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
