{"push_id":807938098,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"c108dd32d9b0e6bfa78ed2d94625aa0a036f2689","before":"5ca028cac137fae6e539a06dcc554a0854b45221","commits":[{"sha":"3f1e9fa268cdc9850dd1df2b271dbd814d957488","author":{"email":"6c720b6ece72a4972cc39d6436cb370514e267ec@wikimedia.org","name":"Ori Livneh"},"message":"resourceloader: Tidy up RL to simplify ResourceLoaderEditToolbarModule\n\n* Remove ResourceLoaderFileModule::getLessCompiler(). There is no reason for a\n  module to need to get a compiler in a different manner than\n  ResourceLoader::getLessCompiler().\n* Add ResourceLoaderModule::getLessVars(). This method provides a means for\n  subclasses to easily inject custom LESS variables. The default implementation\n  simply returns an empty array.\n* Make the $context parameter for ResourceLoaderFileModule::readStyleFiles()\n  non-optional (via graceful deprecation). The only callers I found were either\n  already calling it with a ResourceLoader context, or had a perfectly usable\n  ResourceLoaderContext in local scope.\n* Make ResourceLoaderFileModule::{readStyleFile,getLessCompiler} require a\n  context. These methods are protected, so I didn't bother with a deprecation.\n* Call ksort() on the LESS variables array in the only place it matters -- when\n  hashing its serialized representation to construct a cache lookup key. This\n  relieves getLessVars() subclasses from having to remember to re-sort the\n  variables array if they modify it.\n* These changes make it possible to substantially simplify\n  ResourceLoaderEditToolbarModule, because the only thing it needs to do now is\n  implement its own getLessVars() method.\n* This also allows it to be versioned like any other ResourceLoaderFileModule,\n  rather than having to use enableModuleContentVersion().\n\nChange-Id: Ic3eab71691e502bfe19bdf4eb6f82cc679a7782f","distinct":true,"url":"https://api.github.com/repos/wikimedia/mediawiki/commits/3f1e9fa268cdc9850dd1df2b271dbd814d957488"},{"sha":"c108dd32d9b0e6bfa78ed2d94625aa0a036f2689","author":{"email":"61a1c7c885f4fc173424af2875d459c32bdc4fee@gerrit.wikimedia.org","name":"jenkins-bot"},"message":"Merge \"resourceloader: Tidy up RL to simplify ResourceLoaderEditToolbarModule\"","distinct":true,"url":"https://api.github.com/repos/wikimedia/mediawiki/commits/c108dd32d9b0e6bfa78ed2d94625aa0a036f2689"}]}