'',
EDIT_NEW,
false,
- User::newFromName( 'MediaWiki default' )
+ User::newSystemUser( 'MediaWiki default' )
);
} catch ( Exception $e ) {
// using raw, because $wgShowExceptionDetails can not be set yet
// Don't try to use any object cache for SessionManager either.
$GLOBALS['wgSessionCacheType'] = CACHE_NONE;
+
+ // Set a dummy $wgServer to bypass the check in Setup.php, the
+ // web installer will automatically detect it and not use this value.
+ $GLOBALS['wgServer'] = 'https://🌻.invalid';
}
/**