Page MenuHomePhabricator

Add SASS and Compass support to ResourceLoader
Closed, DeclinedPublic

Description

The Agora and E3 teams are using SASS and Compass, and probably others are now or will in the future. It would simplify this workflow if ResourceLoader had support for this.

http://www.phpsass.com/ would be one option for implementing this. However, it is not clear whether it has complete Compass support. See http://stackoverflow.com/a/15045473/47773


Version: 1.21.x
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=40964

Details

Reference
bz46545

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:18 AM
bzimport set Reference to bz46545.
bzimport added a subscriber: Unknown Object (MLST).

Per bug 40964 comment 1 this is blocked by two things:

  • Speed
  • Debug mode

The latter can most certainly be done, but it needs to be done before anything can be implemented that results in the raw files not working as-is.

Speed is only an issue if existing implementations are too slow to run on-demand en-mass from a web server in the request.

Speed is clearly language dependent. I.E. for any such language we support, we need to separately find/make/improve a fast implementation.

The debug mode issue is general, and I filed bug 46546.

The similar bug 40964 for LESS support has a patch, gerrit 78669. It's in the lead due to an existing better PHP implementation, see the RFC https://www.mediawiki.org/wiki/Requests_for_comment/LESS