Manual:Api.php/it
archivio MediaWiki: api.php | |
---|---|
Ubicazione: | / |
Codice sorgente: | master • 1.43.1 • 1.42.6 • 1.39.12 |
Classi: | Find code • Find documentation Category:MediaWiki code pages without class names/it |
The api.php file is the external access point for the MediaWiki API. See API:Main page for details on using the API.
Azioni prese
Molte azioni sono svolte da api.php, tra cui:
- Verify that the PHP version is supported by the software and exit with an error message if is not.
- Include WebStart.php .
- Do some stuff to make cross-site requests to the API possible. See $wgCrossSiteAJAXdomains .
- Construct an
ApiMain
object with the arguments passed via the URL and call itsexecute()
method to do the actual API stuff.
- Do any deferred updates.
- Do some logging.