Edit MediaWiki pages safely using the right tool for each change. Covers text replacement, formatting, bulk updates, and new page creation with preview-before-save workflow.
Add this skill
npx mdskills install olgasafonova/wiki-editingClear tool selection guide with preview-first workflow and practical editing guardrails
1---2name: wiki-editing3description: Edit MediaWiki pages safely using the right tool for each change. Covers text replacement, formatting, bulk updates, and new page creation with preview-before-save workflow.4---56# Wiki Editing78## Trigger910Making changes to wiki pages: text corrections, formatting, bulk replacements, or creating new content.1112## Tool Selection1314Pick the simplest tool that handles the edit:1516| Change type | Tool |17|-------------|------|18| Strike out or format text (bold, italic, underline) | `mediawiki_apply_formatting` |19| Replace specific text on one page | `mediawiki_find_replace` |20| Replace a term across multiple pages | `mediawiki_bulk_replace` |21| Add new content or complex multi-section edits | `mediawiki_edit_page` |22| Upload a file from URL | `mediawiki_upload_file` |2324Do NOT use `mediawiki_edit_page` for simple text changes when `mediawiki_find_replace` or `mediawiki_apply_formatting` would work.2526## Workflow27281. **Preview first** — Always use `preview=true` on `mediawiki_find_replace` and `mediawiki_bulk_replace` before making changes. Show the preview to the user and get confirmation.29302. **Make the edit** — Execute with `preview=false` after confirmation.31323. **Include an edit summary** — Describe what changed: "Updated version to 3.0", "Struck out former employee name", "Fixed broken internal links".3334## Guardrails3536- Always preview destructive edits before executing them.37- Use internal wiki links `[[Page Title]]`, never full URLs for wiki pages.38- Don't create email links for names; wiki doesn't support `mailto:` properly.39- Page titles are case-sensitive. Use `mediawiki_resolve_title` if unsure.40- Editing requires authentication (`MEDIAWIKI_USERNAME` and `MEDIAWIKI_PASSWORD` environment variables).41- All content must be in English on the wiki.42
Full transparency — inspect the skill content before installing.