API/yue

From MediaWiki.org

< API
Jump to: navigation, search

老友!

呢頁描述而家做緊嘅工夫,響 MediaWiki 入面提供穏定嘅應用程式介面,來方便存取機械可讀嘅資料。


家下 MediaWiki 有四種介面:

  • MediaWiki API - the new API described on these pages.
  • Query API - older API for retrieving data (obsolete).
  • Special:Export feature (bulk export of xml formatted data)
  • Regular Web-based interface
This page is part of the MediaWiki API documentation.
MediaWiki API


See the menu bar on the right for the API sub-topics.

呢隻API嘅目的係直接、高階嘅 MediaWiki 資料庫存取。 Client programs should be able to use the API to login, get data, and post changes. The API must support thin web-based JavaScript clients, such as Navigation popups or LiveRC, end-user applications (such as vandal fighter), or be accessed by another web site (tool server's utilities).

All output will be available in a structured tree format such as XML, JSON, YAML, WDDX, or PHP serialized. A strongly typed RSS or WSDL-style format might also be implemented using wrappers.

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

  • Mailing List for notifications and questions: API mailing list
  • View and report API bugs: BugZilla (When reporting new bugs, don't forget to set Component=API)

[edit] 有用嘅連結

[edit] Archive

Personal tools