Manual:Index.php

Description
Main entry point for the MediaWiki software. It handles most requests for wiki pages. The other main entry point is api.php which handles requests for the MediaWiki API. Most requests result in the following actions in :


 * 1) First, it includes WebStart.php (SVN), which includes LocalSettings.php and Setup.php (SVN).
 * 2) Next it instantiates a MediaWiki object called $mediaWiki which is defined in Wiki.php.
 * 3) It then checks the maxlag parameter, which may cause the request to be rejected.
 * 4) It calls the function   in Wiki.php, 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 AjaxDispatcher object will be created to handle that request and the script will stop after that.
 * 6) Otherwise some globals are stored in $mediaWiki 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 $wgJobRunRate and outputs the HTML by calling.
 * 9) Finally,   is called to log profiling data.