How does Composer know what MediaWiki extensions to load? -
we've switched using semantic bundle install extensions using composer. can skip, extensions, manually including entry points @ localsettings.php file (http://www.bn2vs.com/blog/2013/11/24/introduction-to-composer-for-mediawiki-developers). how mediawiki know extensions load. read composer.json?
the answer, stated in www.mediawiki.org/wiki/composer:
composer creates autoloader @ vendor/autoload.php, included webstart.php
i verified - webstart.php
this:
# load composer's autoloader if present if ( is_readable( "$ip/vendor/autoload.php" ) ) { require_once "$ip/vendor/autoload.php"; }
Comments
Post a Comment