mediawiki_batch_get_pages
Batch retrieve content from multiple MediaWiki pages in one API call. Supports up to 50 titles in wikitext or HTML format.
Instructions
Retrieve content from MULTIPLE pages in a single API call.
USE WHEN: You need content from 2+ pages. Much faster than individual mediawiki_get_page calls.
NOT FOR: Single page (use mediawiki_get_page). Not for metadata only (use mediawiki_batch_get_pages_info).
PARAMETERS:
titles: Array of page titles (required, max 50)
format: "wikitext" (default) or "html"
RETURNS: Page content for each title, with exists/missing status. Missing pages are reported, not errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| titles | Yes | List of page titles to retrieve (max 50) | |
| format | No | Output format: 'wikitext' (default) or 'html' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | ||
| total_count | Yes | ||
| found_count | Yes | ||
| missing_count | Yes |