isPathInfoBad() ) { wfHttpError( 403, 'Forbidden', 'Invalid file extension found in PATH_INFO or QUERY_STRING.' ); return; } // Respond to resource loading request $resourceLoader = new ResourceLoader(); $resourceLoader->respond( new ResourceLoaderContext( $resourceLoader, $wgRequest ) ); wfProfileOut( 'load.php' ); wfLogProfilingData(); // Shut down the database wfGetLBFactory()->shutdown();