미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/API
format=php
(main | php)
- 이 모듈은 read 권한을 요구합니다.
 - 출처: MediaWiki
 - 라이선스: GPL-2.0+
 
Output data in serialized PHP format.
변수:
- formatversion
 Output formatting:
- 1
 - Backwards-compatible format (XML-style booleans, * keys for content nodes, etc.).
 - 2
 - Experimental modern format. Details may change!
 - latest
 - Use the latest format (currently 2), may change without warning.
 
- 하나의 값: 1, 2, latest
 - 기본값: 1
 
예시:
- Return the query result in the PHP format.
 - api.php?action=query&meta=siteinfo&siprop=namespaces&format=php [open in sandbox]