On Thu, Aug 26, 2010 at 1:57 PM, Trevor Parscal tparscal@wikimedia.org wrote:
I have been working on the ResourceLoader branch, where I've ended up writing a CSSMin class which performs CSS minification, URI-remapping and data-URI in-lining. It got me thinking that this class would be pretty useful to non-MediaWiki projects too, but sadly we don't have a history of sharing in this way...
There are already some files that are explicitly meant to be reusable, like IEContentAnalyzer.php and includes/normal/ (both written by Tim Starling). I think this is a nice idea, although I don't think anyone has taken us up on reusing either of those (maybe I'm wrong). For convenience, I guess we want to keep them under phase3/, but maybe putting them in a special folder like phase3/libraries/ would be a good idea. We could try advertising them a bit more, too.