Manual:Api.php
Appearance
| MediaWiki file: api.php | |
|---|---|
| Location: | / |
| Source code: | master • 1.45.0 • 1.44.2 • 1.39.15 |
| Classes: | Find code • Find documentation |
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:
- * API:Main page
- Inkluder WebStart.php.
- Do some stuff to make cross-site requests to the API possible. See $wgCrossSiteAJAXdomains.
- Construct an
ApiMainobject with the arguments passed via the URL and call itsexecute()method to do the actual API stuff.
- Do any deferred updates.
- Do some logging.