Manual:Index.php/ru

index.php — главная точка доступа к сайту MediaWiki. Другая основная точка доступа —, которая обрабатывает запросы к MediaWiki.

The URL of index.php can be customized using.



Предпринимаемые действия
Результат большинства запросов состоит в следующих действиях в :

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. It then dispatches the relevant Action subclass to do that thing.
 * 1) Ensure the version of PHP is supported, otherwise display an error.
 * 1) First, it includes, which mainly just includes.
 * 1) 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.
 * 1) Finally,  is called, which does things like closing database transactions, and running any.

