On 2015-02-16 9:34 AM, Mark A. Hershberger wrote:
I've opened a task on Phabricator[1] to attempt to
merge the information
in extension.json with Composer's
already-used-by-several-extensions-and-skins composer.json.
Kunal has rightly pointed out that composer doesn't fit some use-cases
for MediaWiki. I see that as an opportunity to be good citizens in the
larger developer community by working to integrate MediaWiki into the
growing ecosystem available on
packagist.org.
For example, if composer had been available, we might not have had to
develop our own HTTP client.
If composer had been available, Brion could have released the work under
includes/normal as its own package. As he says in the README there:
This directory contains some Unicode normalization routines. These
routines are meant to be reusable in other projects, so I'm not
tying them to the MediaWiki utility functions.
It looks like two things are
being conflated here.
- Use of composer to use 3rd party libraries and publish the generic
code we create as libraries other people can use.
- Use of composer to distribute and install MediaWiki Extensions
isolated to the MediaWiki ecosystem.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [
http://danielfriesen.name/]