mediawiki_bulk_replace
Update text across multiple MediaWiki pages simultaneously to handle bulk content changes like brand updates or documentation fixes. Use preview mode first to verify changes before applying.
Instructions
Update text across MULTIPLE pages at once.
USE WHEN: User says "update everywhere", "fix on all pages", "change brand name across docs", "update in all documentation".
NOT FOR: Single page changes (use mediawiki_find_replace - more efficient).
PARAMETERS:
find: Text to find (required)
replace: Replacement text (required)
pages: Array of specific pages (optional)
category: Update all pages in category (optional)
use_regex: Treat find as regex (default false)
preview: Preview changes (ALWAYS use true first!)
limit: Max pages to update (default 50)
summary: Edit summary
WARNING: Always use preview=true first to verify matches before applying.
RETURNS: Changes per page. Set preview=false to apply all changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Page titles to process | |
| category | No | Category to get pages from (alternative to pages) | |
| find | Yes | Text to find | |
| replace | Yes | Replacement text | |
| use_regex | No | Treat 'find' as a Go RE2 regex. Characters like . [ ] * + ? ( ) have special meaning; escape with backslash for literal match. Max 500 chars. | |
| preview | No | Preview changes without saving | |
| summary | No | Edit summary | |
| limit | No | Max pages to process (default 10, max 50) |