Jump to navigation Jump to search
This page is a translated version of the page Manual:Index.php and the translation is 45% complete.
Other languages:
Deutsch • ‎English • ‎Türkçe • ‎español • ‎français • ‎português • ‎português do Brasil • ‎čeština • ‎русский • ‎українська • ‎中文 • ‎日本語 • ‎한국어

'index.php' es el punto de entrada principal para un sitio MediaWiki. El otro punto de entrada principal es api.php , que maneja las solicitudes para la API de MediaWiki.

Acciones tomadas

Versión de MediaWiki:

Más resultados de solicitudes de las siguientes acciones en index.php:

  1. Ensure the version of PHP is supported, otherwise display an error.
  2. First, it includes WebStart.php , which mainly just includes Setup.php . This in turn sets up the PHP environment for MediaWiki, such as installing the class autoloader, including the vendor dependencies loading DefaultSettings.php , and applying the site's LocalSettings.php file.
  3. Next, it instantiates the MediaWiki class from MediaWiki.php , 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, MediaWiki::restInPeace() is called, which does things like closing database transactions, and running any deferred updates .

Véase también