API:Main page/zh

 注意

此页介绍如何作一个稳定的API在MediaWiki

可取机器读的信息.

MediaWiki现在有三各方面:
 * MediaWiki API - 此页上的新API.
 * Special:Export － XML格式信息.
 * 普通因特网方面, 请看 Manual:Parameters to index.php

请看右面的盒子如果您在查信息.

这个API的目的是让自动程序得到direct, high-level access to the data contained in the MediaWiki databases. Client programs can use the API to login, get data, and post changes. The API supports thin web-based JavaScript clients, such as Navigation popups or LiveRC, end-user applications (such as vandal fighter), and can be accessed by another web site (tool server's utilities).

All output is available in a wide range of formats.

Each API module uses a set of parameters. To prevent name collision, each submodule of action=query has a two letter abbreviation, and each parameter name begins with those two letters.


 * Short help and parameter guide can be obtained from api.php itself
 * Mailing List for notifications and questions: API mailing list
 * Low-traffic mailing list for announcements only (all posts to this list are posted to mediawiki-api as well): mediawiki-api-announce
 * View and report API bugs: BugZilla (When reporting new bugs, don't forget to set Component=API)

Useful Links

 * API source code in SVN
 * Database layout
 * The current DB schema in SVN

Archive

 * API:Wikimania 2006 API discussion