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

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -