Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

API

From mediawiki.org
This page is atranslated version of the pageAPI and the translation is 14% complete.
Languages:

MediaWiki has severalapplication 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 intoMediaWiki Core are available in most MediaWiki wikis, built-in Action API modulescan also be disabled.

Within the context of the MediaWiki website the Action API can be accessed from JavaScript via themw.Api JavaScript API.(mw.ForeignApi for allowed cross-site requests, e.g. between WMF wikis.)For libraries to access the MediaWiki Action API from your favorite programming language, seeAPI:Client code.

Other web APIs

This table:pokaż·dyskusja·edytuj
APIDostępnośćURL basePrzykład
MediaWiki Action APIIncluded with MediaWiki

Enabled onWikimedia projects

/api.phphttps://pl.wikipedia.org/w/api.php?action=query&prop=info&titles=Ziemia
MediaWiki REST APIIncluded with MediaWiki 1.35+

Enabled onWikimedia projects

/rest.phphttps://pl.wikipedia.org/w/rest.php/v1/page/Ziemia
Wikimedia REST APINot included with MediaWiki

Available forWikimedia projects only

/api/resthttps://pl.wikipedia.org/api/rest_v1/page/title/Ziemia
For commercial-scale APIs for Wikimedia projects, seeWikimedia Enterprise

Zobacz też

Suggestions and ideas for the MediaWiki APIs are tracked onPhabricator:

Przypisy

  1. For extending the Action API, seeAPI:Rozszerzenia.For information about JavaScript modules, seeResourceLoader.
ujednoznacznienie
To jeststrona ujednoznaczniająca, która wymienia listę stron odpowiadających oczekiwanym kryteriom. Jeżelilink do strony odniósł cię tutaj, edytuj stronę i podaj link do zamierzonej strony.
Retrieved from "https://www.mediawiki.org/w/index.php?title=API/pl&oldid=7939594"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp