Manual:Api.php/ko
Appearance
| 미디어위키 파일: api.php | |
|---|---|
| 위치: | / |
| 소스 코드: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| 클래스: | 코드 검색 • 설명문서 검색 |
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.
- Include 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.