On Fri, Jul 19, 2013 at 3:16 PM, Mark A. Hershberger <mah(a)everybody.org>wrote;wrote:
The real question is: why doesn't MediaWiki use
Composer?
http://getcomposer.org/download/
We've discussed this here before, though, so it really isn't anything
more than a rhetorical question.
Ryan's post just shows us, once again, why there is a need for it.
From what Antoine found out from the composer people,
basically what we'll
have to do to make MW use Composer is that we need to
separate the entry
points from the backend classes (in other words, put everything except
index.php, api.php, etc. in one repository, and then have the entry points
in another). That way the MW core itself becomes a library, which is how
Symfony does it. Then people just make a project from the entry point
project, and then they can use "composer require" to add more extensions.
*-- *
*Tyler Romeo*
Stevens Institute of Technology, Class of 2016
Major in Computer Science
www.whizkidztech.com | tylerromeo(a)gmail.com