mediawiki_find_broken_internal_links
Scan wiki pages for broken internal [[links]] that lead to missing pages, listing source page, line number, and context for easy repair.
Instructions
Find internal wiki [[links]] pointing to non-existent pages.
USE WHEN: User asks "find broken wiki links", "check for dead internal links", "find [[links]] to missing pages".
NOT FOR: Checking external HTTP URLs (use mediawiki_check_links).
PARAMETERS:
pages: Array of pages to scan (optional)
category: Scan all pages in category (optional)
limit: Max pages to scan (default 20)
RETURNS: Broken links with source page, line number, and context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max pages to check (default 20, max 100) | |
| pages | No | Page titles to check for broken internal links | |
| category | No | Category to get pages from (alternative to pages) | |
| rationale | No | Optional one-sentence explanation of why you are calling this tool. Used for audit trails when present. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | ||
| broken_count | Yes | ||
| pages_checked | Yes |