Translations:Manual:Index.php/4/en


 * 1) First, it includes $webstart, which includes $localsettings and $setup.
 * 2) Next it instantiates a MediaWiki object called $mW which is defined in $wiki.
 * 3) It then checks the maxlag parameter, which may cause the request to be rejected.
 * 4) It calls the function   in $wiki, which creates a $title object depending of the title and action parameters from the URL.
 * 5) If ajax is enabled and the   parameter is set to , then an $dispatcher object will be created to handle that request and the script will stop after that.
 * 6) Otherwise some globals are stored in $mW to be used in the next steps.
 * 7) It calls   which does most of the work of the request.
 * 8) Then   is called.  That function does the deferred updates, runs jobs from the queue depending on $rate and outputs the HTML by calling.
 * 9) Finally,   is called to log profiling data.