Manual:WebStart.php

This does the initial setup for a web request. It does some security checks, starts the profiler and loads the configuration, and optionally loads Setup.php depending on whether MW_NO_SETUP is defined.

It is called by index.php and applies inclusion to LocalSettings.php.