MediaWiki has several
application programming interfaces
(
APIs
).
The three most important APIs of MediaWiki are:
Note that the MediaWiki Action API and the MediaWiki JavaScript API are both modular: both can be extended by extensions, so the available API modules can differ from wiki to wiki.
[1]
While the API modules built into
MediaWiki Core
are available in most MediaWiki wikis, built-in Action API modules
can also be disabled
.
Within the context of the MediaWiki website the Action API can be accessed from JavaScript via the
mw.Api
JavaScript API.
For libraries to access the MediaWiki Action API from your favorite programming language, see
API:Client code
.
Other web APIs
See also
Suggestions and ideas for the MediaWiki APIs are tracked on
Phabricator
: