Manual:Api.php/diq

This page is a translated version of the page Manual:Api.php and the translation is 9% complete.

The api.php file is the external access point for the MediaWiki API. See API:Main page for details on using the API.

Actions taken

Several actions are taken by api.php, including:

  • Verify that the PHP version is supported by the software and exit with an error message if is not.
  • Construct an ApiMain object with the arguments passed via the URL and call its execute() method to do the actual API stuff.
  • Do any deferred updates.
  • Do some logging.

Bıvênên