Hey,
This is an issue with the extensions. The expectation for extensions is
that when the extension file is included MediaWiki is
not set up. If an
extension needs to do things *after* MW is set up, it should be adding a
callback to $wgExtensionFunctions, which is called from the end of
Setup.php.
I'm absolutely fine with declaring this to be unsupported. Being an active
extension developer myself, it was however not clear to me this was the
case. I suspect the same is true for most other extension developers, and
that thus, by extension, a bunch of extensions are currently violating
this. I can't think of any out of the top of my head though, so perhaps I'm
overestimating the number of violations.
If people in general are fine with this, we can move the inclusion of the
composer autoloader to right before LocalSettings.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--