API:Начална страница

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page API:Main page and the translation is 13% complete.
Outdated translations are marked like this.
Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Esperanto • ‎Nederlands • ‎Taqbaylit • ‎Tiếng Việt • ‎Türkçe • ‎azərbaycanca • ‎dansk • ‎español • ‎français • ‎italiano • ‎lietuvių • ‎polski • ‎português • ‎português do Brasil • ‎română • ‎svenska • ‎čeština • ‎български • ‎русский • ‎українська • ‎עברית • ‎العربية • ‎سنڌي • ‎فارسی • ‎پښتو • ‎मराठी • ‎हिन्दी • ‎বাংলা • ‎ಕನ್ನಡ • ‎ไทย • ‎中文 • ‎文言 • ‎日本語 • ‎粵語 • ‎ꯃꯤꯇꯩ ꯂꯣꯟ • ‎한국어


This page provides an overview of the MediaWiki action API. This page is intended for technical contributors and software developers who wish to understand and use the MediaWiki action API.

Quick Start


All Wikimedia wikis have endpoints that follow this pattern: https://www.example.org/w/api.php

Examples of Wikimedia Wiki Endpoints
API Endpoint Wiki
https://www.mediawiki.org/w/api.php MediaWiki API
https://meta.wikimedia.org/w/api.php Meta-Wiki API
https://en.wikipedia.org/w/api.php English Wikipedia API
https://nl.wikipedia.org/w/api.php Dutch Wikipedia API
https://commons.wikimedia.org/w/api.php Wikimedia Commons API
https://test.wikipedia.org/w/api.php Test Wiki API


The MediaWiki action API is a web service that allows access to some wiki-features like authentication, page operations, and search. It can provide meta information about the wiki and the logged-in user.

Uses for the MediaWiki Action API

  • Monitor a MediaWiki installation
  • Create a bot to maintain a MediaWiki installation
  • Log into a wiki, access data, and post changes by making HTTP requests to the web service

Първи стъпки

Before you start using the MediaWiki action API, you should review the following pages:

These terms apply to you when you access or edit using the API, just as they do when you use your web browser.

Other APIs

If you do not find what you are looking for in this API documentation, there are many other APIs related to Wikimedia projects. See the Web APIs hub for information on other APIs for Wikimedia project data and their usage.

Code stewardship