API:Web APIs hub
From MediaWiki.org
This page is part of the Web APIs hub. |
Equip your projects with free knowledge
Free multilingual information on Wikipedia and sister projects |
Free images and media files on Wikimedia Commons |
Free structured data on Wikidata |
- Extract, publish, edit, and monitor information in real time using the Wikimedia web APIs.
- Analyze in detail our entire Wikimedia datasets.
- Extend and contribute to hundreds of Wikimedia free software projects.
Inspire
Page info in search results
This shows the API results that search results use to display additional information about articles, including a lead image and a description of the article's subject from Wikidata.
- More: the WikimediaKiosk cycles through a variety of interesting projects and data visualizations.
Explore
Make requests and see results in the MediaWiki API Sandbox
Request content and metadata of Wikimedia articles with our REST API
Watch the Recent changes stream with JavaScript
Build
- The MediaWiki action API (documentation) is a collection of API modules on each wiki that let you query and manipulate its content.
Click [Expand] to display the menu for the action API pages →
This page is part of the MediaWiki action API documentation. |
MediaWiki action API
- Introduction and quick start
- FAQ
- Tutorial
- Formats
- Error reporting
- Restricting usage
- Cross-site requests
- Authentication
- Queries
- Searching (by title, content, coordinates...)
- Parsing wikitext and expanding templates
- Purging pages' caches
- Parameter information
- Changing wiki content
- Create and edit pages
- Move pages
- Merge pages
- Rollback
- Delete pages
- Restore deleted revisions
- (Un)protect pages
- (Un)block users
- (Un)watch pages
- Mark revisions of watched pages as visited
- Send email
- Patrol changes
- Import pages
- Change user group membership
- Upload files
- User options
- Tokens
- Page language
- Watchlist feed
- Wikidata
- Extensions
- Using the API in MediaWiki and extensions
- Miscellaneous
- Implementation
- Client code
- Asserting
-
- The Wikidata API (documentation) consists of several such modules running on Wikidata wiki that let you query and manipulate language-independent information.
- The RESTBase content API (generated documentation) runs on each wiki so you can retrieve page content quickly and easily.
- You can search wiki content using various modules in the action API, and Wikidata has its own Wikidata query service. Search and discovery provides an overview.
There are many other ways to contribute to MediaWiki.