X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FSetup.php;h=01ba1e8422a2200d2f6c49585626dd1df6641bf0;hp=c4527790304d1fe087ad7679a6c1ee0cb73ed1b8;hb=5b1dcdc344f5d251120a161637bcb89e01b0f6a4;hpb=a75973d8833277eb0683749a37bb0d517cdd3116 diff --git a/includes/Setup.php b/includes/Setup.php index c452779030..01ba1e8422 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -1,6 +1,6 @@ scopedProfileIn( $fname ); -// If any extensions are still queued, force load them +// Load queued extensions ExtensionRegistry::getInstance()->loadFromQueue(); +// Don't let any other extensions load +ExtensionRegistry::getInstance()->finish(); // Check to see if we are at the file scope if ( !isset( $wgVersion ) ) { @@ -497,10 +499,6 @@ if ( $wgDebugToolbar && !$wgCommandLineMode ) { MWDebug::init(); } -if ( !class_exists( 'AutoLoader' ) ) { - require_once "$IP/includes/AutoLoader.php"; -} - // Reset the global service locator, so any services that have already been created will be // re-created while taking into account any custom settings and extensions. MediaWikiServices::resetGlobalInstance( new GlobalVarConfig(), 'quick' ); @@ -878,7 +876,6 @@ if ( !$wgCommandLineMode ) { Pingback::schedulePingback(); } -wfDebug( "Fully initialised\n" ); $wgFullyInitialised = true; Profiler::instance()->scopedProfileOut( $ps_extensions );