// So extensions (and other code) can check whether they're running in API mode
define( 'MW_API', true );
-// Bail on old versions of PHP, or if composer has not been run yet to install
-// dependencies. Using dirname( __FILE__ ) here because __DIR__ is PHP5.3+.
-require_once dirname( __FILE__ ) . '/includes/PHPVersionCheck.php';
-wfEntryPointCheck( 'api.php' );
-
require __DIR__ . '/includes/WebStart.php';
$starttime = microtime( true );