Last modified: 2013-09-23 22:30:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48545, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46545 - Add SASS and Compass support to ResourceLoader
Add SASS and Compass support to ResourceLoader
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
1.21.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 46546
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-25 18:50 UTC by Matthew Flaschen
Modified: 2013-09-23 22:30 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Matthew Flaschen 2013-03-25 18:50:31 UTC
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
Comment 1 Krinkle 2013-03-25 18:54:32 UTC
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.
Comment 2 Matthew Flaschen 2013-03-25 19:27:25 UTC
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.
Comment 3 Matthew Flaschen 2013-03-30 04:09:07 UTC
I've suggested this as a possible Google Summer of Code project: https://www.mediawiki.org/wiki/Mentorship_programs/Possible_projects#SASS.2FLESS
Comment 4 spage 2013-08-19 19:41:44 UTC
The similar bug 40964 for LESS support has a patch, Gerrit change #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
Comment 5 Matthew Flaschen 2013-09-23 22:30:30 UTC
We've selected LESS, per https://www.mediawiki.org/wiki/Requests_for_comment/LESS

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links