X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSetup.php;h=ecd164d3bc94dc86cad9e1cae4c19343deb5c34b;hb=9614ef97683e1aab4f1113527d6fe9ea1c0e68b2;hp=357c76d8d114bd01fd5585fcf47fcd029daaf543;hpb=19cd639835938da66507a1cc3623073c3217b416;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Setup.php b/includes/Setup.php index 357c76d8d1..ecd164d3bc 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 ) ) { @@ -462,7 +464,7 @@ if ( $wgMaximalPasswordLength !== false ) { } // Backwards compatibility warning -if ( !$wgSessionsInObjectCache && !$wgSessionsInMemcached ) { +if ( !$wgSessionsInObjectCache ) { wfDeprecated( '$wgSessionsInObjectCache = false', '1.27' ); if ( $wgSessionHandler ) { wfDeprecated( '$wgSessionsHandler', '1.27' ); @@ -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 );