Manual:Index.php/fr

index.php est le principal point d'accès pour un site MediaWiki. L'autre point d'accès principal est, qui gère les requêtes pour l' de MediaWiki.

Actions prises
La plupart des requêtes résultent dans les actions suivantes dans  :


 * 1) Ensure the version of PHP is supported, otherwise display an error.
 * 2) First, it includes, which mainly just includes . This in turn sets up the PHP environment for MediaWiki, such as installing the class autoloader, including the vendor dependencies loading , and applying the site's  file.
 * 3) Next, it instantiates the MediaWiki class from, which is responsible for interpreting URL parameters like "title" and "action" to determine what the current request should do. It then dispatches the relevant Action subclass to do that thing.
 * 4) Finally,   is called, which does things like closing database transactions, and running any.

Voir aussi

 * Manuel:Code