mediawiki-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MEDIAWIKI_URL | Yes | Wiki API endpoint (e.g., https://wiki.com/api.php) | |
| MCP_AUTH_TOKEN | No | Bearer token for HTTP authentication | |
| MEDIAWIKI_TIMEOUT | No | Request timeout (default: 30s) | 30s |
| MEDIAWIKI_PASSWORD | No | Bot password | |
| MEDIAWIKI_USERNAME | No | Bot username (User@BotName) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
MediaWiki MCP Server - Tool Selection Guide
WIKI EDITING GUIDELINES (Public 360° Wiki)
Language Requirement
ALL content MUST be in English
No Norwegian/Danish/Swedish articles allowed
Article Naming
Article titles must be:
Recognizable - Name readers would search for
Natural - What the subject is actually called
Precise - Unambiguously identifies the subject
Concise - No longer than necessary
Consistent - Matches similar article patterns
❌ DON'T create complex naming systems ✅ DO name articles after what they're actually about
Category Naming
Be specific, neutral, and inclusive
Follow patterns like "Hospitals in Denmark" or "Australian journalists"
Use existing categories when possible
Content Guidelines
Be specific with page titles and section titles
Be concise in everything you write
Article size - not too big, not too small
If content gives no value or is unreadable, it may be deleted
Internal Links
NEVER use full URLs for internal wiki links!
✅ Correct: [[Page Title]] or [[Page Title|Display Text]]
Contact Information
DON'T create names as email links - wiki doesn't support this properly!
✅ Correct: "John Smith (john.smith@tietoevry.com)"
❌ Wrong: [[mailto:john.smith@tietoevry.com|John Smith]]
File Uploads
Supported formats: doc, docx, xlsx, xls, mpp, pdf, ppt, pptx, jpg, tiff, odt, odg, ods, odp, svg, zip Maximum size: 10MB
Housekeeping
For outdated content (keep for history):
Add {{Expired}} at top of page
Add [[Category:Expired]] at bottom
For content to be deleted:
Add [[Category:Page for deletion]]
Only admins can delete pages
For renaming pages:
Use "More" → "Move" (not delete and recreate)
Keep "Leave a redirect behind" checked
Edit Summaries
Always provide clear summaries explaining changes:
"Updated product version to 3.0"
"Struck out former employee name"
"Fixed broken internal links"
"Added new section on authentication"
MCP SECURITY & CONSENT (2025 Spec)
User Consent Requirements
Users must explicitly consent to all data access and operations
Users retain control over what data is shared and what actions are taken
Provide clear information about what each operation will do
Preview-Before-Save Workflow
For any edit operation:
Use preview=true to show what will change
Get user confirmation
Only then execute the actual edit
This is MANDATORY for:
mediawiki_find_replace
mediawiki_apply_formatting
mediawiki_bulk_replace
mediawiki_edit_page
Tool Safety
Tool descriptions are metadata guidance, not security guarantees
Always verify operations before executing
Obtain explicit user consent before making changes
Data Privacy
Don't transmit wiki data elsewhere without user consent
Be transparent about what data is being accessed
Protect user credentials and session data
DECISION TREE: Choosing the Right Tool
User wants to EDIT something:
"Strike out/cross out [name]" or "mark [text] as deleted" -> USE: mediawiki_apply_formatting (format="strikethrough")
"Make [text] bold/italic/underlined" -> USE: mediawiki_apply_formatting (format="bold"/"italic"/"underline")
"Replace [X] with [Y]" or "Change [old] to [new]" on ONE page -> USE: mediawiki_find_replace (use preview=true first)
"Update [term] across all pages" or "Fix [brand name] everywhere" -> USE: mediawiki_bulk_replace (specify pages=[] or category="...")
"Add new content" or "Create a page" or complex multi-section edits -> USE: mediawiki_edit_page (last resort for simple edits!)
User wants to FIND something:
"Find [text] on the wiki" (don't know which page) -> USE: mediawiki_search
"Find [text] on [specific page]" (know the page) -> USE: mediawiki_search_in_page
"What's on page [title]?" or "Show me [page]" -> USE: mediawiki_get_page (try exact title first)
Page not found? Title might be wrong? -> USE: mediawiki_resolve_title (handles case sensitivity, typos)
User asks about HISTORY/CHANGES:
"Who edited [page]?" or "Show edit history" -> USE: mediawiki_get_revisions
"What changed?" or "Show me the diff" -> USE: mediawiki_compare_revisions
"What did [user] edit?" -> USE: mediawiki_get_user_contributions
"What's new on the wiki?" -> USE: mediawiki_get_recent_changes
User asks about QUALITY/LINKS:
"Run a wiki health check" or "Audit the wiki" or "Check wiki quality" -> USE: mediawiki_audit (runs all checks in parallel, returns health score 0-100)
"Check for broken links" -> External URLs: mediawiki_check_links -> Internal wiki links: mediawiki_find_broken_internal_links
"Check terminology/brand consistency" -> USE: mediawiki_check_terminology
"Find orphaned/unlinked pages" -> USE: mediawiki_find_orphaned_pages
"What links to [page]?" -> USE: mediawiki_get_backlinks
User wants to CONVERT content:
"Convert this Markdown to wiki format" or "Transform README for wiki" -> USE: mediawiki_convert_markdown
"Add this Markdown content to the wiki" (two-step process) -> FIRST: mediawiki_convert_markdown (to get wikitext) -> THEN: mediawiki_edit_page (to save the converted content)
"Convert with Tieto branding" or "Use brand colors" -> USE: mediawiki_convert_markdown (theme="tieto", add_css=true)
COMMON MISTAKES TO AVOID
X DON'T use mediawiki_edit_page for simple text changes -> Instead use mediawiki_find_replace or mediawiki_apply_formatting
X DON'T guess page titles - they are case-sensitive -> If page not found, use mediawiki_resolve_title
X DON'T edit without preview for destructive changes -> Always use preview first (omit the preview flag) for edit_page, find_replace and bulk_replace
X DON'T fetch entire page just to search within it -> Use mediawiki_search_in_page instead
EXAMPLE USER REQUESTS -> TOOL MAPPING
User Says | Use This Tool |
"Strike out John Smith - he left" | mediawiki_apply_formatting |
"Replace Public 360 with Public 360°" | mediawiki_find_replace |
"Update our brand name on all docs" | mediawiki_bulk_replace |
"What does the API page say?" | mediawiki_get_page |
"Is Module Overview or Module overview?" | mediawiki_resolve_title |
"Find all mentions of deprecated" | mediawiki_search |
"Who changed the release notes?" | mediawiki_get_revisions |
"Convert this README to wiki format" | mediawiki_convert_markdown |
"Add release notes (in Markdown) to wiki" | mediawiki_convert_markdown -> mediawiki_edit_page |
RESOURCES (Direct Context Access)
wiki://page/{title} - Get page content directly
wiki://category/{name} - List category members
AUTHENTICATION
Editing requires MEDIAWIKI_USERNAME and MEDIAWIKI_PASSWORD environment variables. Read operations work without authentication.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mediawiki_apply_formattingA | BEST for adding formatting markup to specific text. USE WHEN: User says "strike out X", "cross out the name", "make X bold", "italicize Y", "mark as code". NOT FOR: Replacing text (use mediawiki_find_replace). PARAMETERS:
RETURNS: Preview of formatting applied. Set preview=false to apply. Includes revision ID, diff URL, and undo instructions. NOTE: Requires authentication (bot password) to apply changes. Anonymous sessions cannot edit. |
| mediawiki_auditA | Run comprehensive wiki health audit with multiple checks. USE WHEN: User asks "run health check", "audit the wiki", "check wiki quality". PARAMETERS:
RETURNS: Health score (0-100), detailed results per check, and recommendations. |
| mediawiki_batch_get_pagesA | 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:
RETURNS: Page content for each title, with exists/missing status. Missing pages are reported, not errors. |
| mediawiki_batch_get_pages_infoA | Get metadata for MULTIPLE pages in a single API call. USE WHEN: You need info (last edit, size, categories) for 2+ pages without their content. NOT FOR: Single page (use mediawiki_get_page_info). Not for content (use mediawiki_batch_get_pages). PARAMETERS:
RETURNS: Metadata (size, last edit, categories, protection) per page. Missing pages reported with exists=false. |
| mediawiki_bulk_replaceA | 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:
WARNING: Always use preview=true first to verify matches before applying. RETURNS: Changes per page. Set preview=false to apply all changes. Includes revision ID, diff URL, and undo instructions. NOTE: Requires authentication (bot password) to apply changes. Anonymous sessions cannot edit. |
| mediawiki_check_linksA | Verify external URL accessibility via HTTP requests. USE WHEN: User asks "check if these links work", "find broken URLs", "verify external links". NOT FOR: Finding broken internal wiki links (use mediawiki_find_broken_internal_links). PARAMETERS:
RETURNS: URL status codes, response times, and broken link identification. |
| mediawiki_check_terminologyA | Scan pages for terminology violations against a glossary. USE WHEN: User asks "check brand terminology", "find incorrect terms", "verify consistent naming". PARAMETERS:
RETURNS: Violations with page, line, wrong term, and correct term. |
| mediawiki_check_translationsA | Find pages missing translations in specified languages. USE WHEN: User asks "which pages need German translation", "find missing translations", "check language coverage". PARAMETERS:
RETURNS: Missing translations grouped by language. |
| mediawiki_compare_revisionsA | Compare two revisions and show the diff. USE WHEN: User asks "what changed between versions", "show the diff", "compare old and new". NOT FOR: Just listing revisions (use mediawiki_get_revisions). Not for comparing a topic across pages (use mediawiki_compare_topic). PARAMETERS:
RETURNS: HTML-formatted diff showing additions (green) and deletions (red). |
| mediawiki_compare_topicA | Compare how a topic is described across multiple pages. USE WHEN: User asks "how is X described on different pages", "find inconsistencies about timeout", "compare definitions of Y". NOT FOR: Comparing page revisions (use mediawiki_compare_revisions). PARAMETERS:
RETURNS: Page mentions with context, detected value mismatches, and inconsistencies. |
| mediawiki_convert_markdownA | Convert Markdown text to MediaWiki markup. Use this tool when you need to transform Markdown-formatted content into wiki-compatible format before creating or editing wiki pages. WHEN TO USE:
THEMES:
OPTIONS:
EXAMPLE: Input: "# Hello\nbold and italic\n- item 1\n- item 2" Output: "= Hello =\n'''bold''' and ''italic''\n* item 1\n* item 2" |
| mediawiki_edit_pageA | Create new pages or rewrite entire page content. USE WHEN: User says "create a new page", "rewrite the entire About page", "replace all content". NOT FOR: Simple text changes (use mediawiki_find_replace). Not for formatting (use mediawiki_apply_formatting). PARAMETERS:
RETURNS: Preview (default): per-line diff of the planned content against the current revision ('changes' entries: before=removed line, after=added line, a modified line appears as its removal followed by its addition), plus new_page=true when the edit would create the page. With preview=false: revision ID, diff URL, and undo instructions. NOTE: Requires authentication (bot password) to apply changes. Anonymous sessions cannot edit. WARNING: This overwrites entire page content unless section is specified. Preview first (omit preview) before applying. |
| mediawiki_find_broken_internal_linksA | 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:
RETURNS: Broken links with source page, line number, and context. |
| mediawiki_find_orphaned_pagesA | Find pages with no incoming links from other pages. USE WHEN: User asks "find orphan pages", "which pages have no links", "find undiscoverable content". PARAMETERS:
RETURNS: List of orphaned page titles. |
| mediawiki_find_replaceA | PREFERRED for simple text changes on a single page. USE WHEN: User says "replace X with Y", "fix the typo", "change the version number", "update the name". NOT FOR: Creating/rewriting pages (use mediawiki_edit_page). Not for multi-page updates (use mediawiki_bulk_replace). Not for formatting (use mediawiki_apply_formatting). PARAMETERS:
RETURNS: Match count and preview of changes. Set preview=false to apply. Includes revision ID, diff URL, and undo instructions. NOTE: Requires authentication (bot password) to apply changes. Anonymous sessions cannot edit. |
| mediawiki_find_similar_pagesA | Find pages with similar content (potential duplicates or overlaps). USE WHEN: User asks "find similar pages", "are there duplicates", "what pages overlap with X". NOT FOR: Finding related pages by links (use mediawiki_get_related). PARAMETERS:
RETURNS: Similar pages with similarity scores and linking recommendations. |
| mediawiki_get_backlinksA | Get pages that link TO a specific page ("What links here"). USE WHEN: User asks "what links to X", "which pages reference the API", "show incoming links". NOT FOR: Outgoing external links (use mediawiki_get_external_links). PARAMETERS:
RETURNS: List of pages that link to the target page. |
| mediawiki_get_category_membersA | Get all pages that belong to a specific category. USE WHEN: User asks "show pages in Documentation category", "list all tutorials", "what's in Category:API". NOT FOR: Listing categories themselves (use mediawiki_list_categories). PARAMETERS:
RETURNS: Page titles in the category. |
| mediawiki_get_external_linksA | Get all external URLs from a wiki page. USE WHEN: User asks "what external links are on X", "show outgoing URLs", "list http links". NOT FOR: Incoming wiki links (use mediawiki_get_backlinks). Not for verifying links work (use mediawiki_check_links). PARAMETERS:
RETURNS: List of external URLs on the page. |
| mediawiki_get_external_links_batchA | Batch retrieve external URLs from multiple pages at once. USE WHEN: User asks "get links from these 5 pages", "collect URLs from multiple articles". NOT FOR: Single page (use mediawiki_get_external_links - more efficient). PARAMETERS:
RETURNS: External URLs grouped by source page. |
| mediawiki_get_imagesA | Get all images and files used on a wiki page. USE WHEN: User asks "what images are on X", "show files used in the article", "list media on this page". PARAMETERS:
RETURNS: Image titles, URLs, dimensions, and file sizes. |
| mediawiki_get_pageA | Retrieve full wiki page content. USE WHEN: User says "show me the X page", "what's on the Main Page", "read the FAQ". NOT FOR: Getting page structure/TOC (use mediawiki_get_sections). Not for searching content (use mediawiki_search_in_page). Not for metadata only (use mediawiki_get_page_info). If title not found, use mediawiki_resolve_title to handle typos and case sensitivity. PARAMETERS:
RETURNS: Page content in requested format. Large pages truncated at 25KB. |
| mediawiki_get_page_infoA | Get page metadata without content. USE WHEN: User asks "when was X last edited", "who created the FAQ", "is the page protected". NOT FOR: Getting page content (use mediawiki_get_page). Not for full edit history (use mediawiki_get_revisions). PARAMETERS:
RETURNS: Last edit timestamp, page size, protection status, creator. |
| mediawiki_get_page_summaryA | Get lead section + key metadata without loading the full page. USE WHEN: User asks "what is X about", "quick overview of X", "summarize the X page". Much lighter than mediawiki_get_page for large pages. NOT FOR: Full page content (use mediawiki_get_page). Not for specific sections (use mediawiki_get_sections with section parameter). PARAMETERS:
RETURNS: Lead section (intro before first heading), page size, categories, section list, last edit timestamp. |
| mediawiki_get_recent_changesA | Get recent changes across the entire wiki. USE WHEN: User asks "what's been changed recently", "show wiki activity", "who's been editing". NOT FOR: Single page history (use mediawiki_get_revisions). Not for user-specific edits (use mediawiki_get_user_contributions). PARAMETERS:
RETURNS: Recent changes with timestamps, users, and summaries. Aggregation returns counts. |
| mediawiki_get_relatedA | Find pages related to a given page via links and categories. USE WHEN: User asks "what pages are related to X", "show linked pages", "find associated content". NOT FOR: Finding content-similar pages (use mediawiki_find_similar_pages for duplicate detection). PARAMETERS:
RETURNS: Related page titles with relationship type. |
| mediawiki_get_revisionsA | Get revision history for a specific page. USE WHEN: User asks "who edited the FAQ", "show edit history of X", "when was this page last changed". NOT FOR: Wiki-wide activity (use mediawiki_get_recent_changes). Not for comparing versions (use mediawiki_compare_revisions). PARAMETERS:
RETURNS: Revision list with timestamps, users, sizes, and edit summaries. |
| mediawiki_get_sectionsA | Get page section structure (TOC) or specific section content. USE WHEN: User asks "what sections does X have", "show the table of contents", "get the Installation section". NOT FOR: Full page content (use mediawiki_get_page). PARAMETERS:
RETURNS: Section headings with indices, or specific section content. |
| mediawiki_get_stale_pagesA | Find pages that haven't been edited in a specified number of days. USE WHEN: User asks "find outdated pages", "which pages need review", "show stale content", "wiki hygiene check". NOT FOR: Recent activity (use mediawiki_get_recent_changes). Not for orphaned pages (use mediawiki_find_orphaned_pages). PARAMETERS:
RETURNS: Stale pages sorted by last edit (oldest first), with days since edit and last editor. |
| mediawiki_get_user_contributionsA | Get all edits made by a specific user. USE WHEN: User asks "what did John edit", "show user's contributions", "list edits by admin". NOT FOR: Page-specific history (use mediawiki_get_revisions). Not for wiki-wide activity (use mediawiki_get_recent_changes). PARAMETERS:
RETURNS: List of pages edited with timestamps and summaries. |
| mediawiki_get_wiki_infoA | Get information about the wiki itself. USE WHEN: User asks "what wiki is this", "wiki statistics", "MediaWiki version". PARAMETERS: None RETURNS: Wiki name, version, statistics (pages, users, edits). |
| mediawiki_list_categoriesA | List all categories in the wiki. USE WHEN: User asks "what categories exist", "show all categories", "list available categories". NOT FOR: Getting pages in a category (use mediawiki_get_category_members). PARAMETERS:
RETURNS: Category names and page counts. |
| mediawiki_list_pagesA | List wiki pages with optional prefix filter. USE WHEN: User asks "list all pages", "show pages starting with API", "what pages exist". NOT FOR: Finding pages by content (use mediawiki_search). PARAMETERS:
RETURNS: Page titles and IDs. |
| mediawiki_list_usersA | List wiki users with optional group filtering. USE WHEN: User asks "who are the admins", "list all users", "show active editors". PARAMETERS:
RETURNS: User names, groups, edit counts, and registration dates. |
| mediawiki_manage_categoriesA | Add or remove categories from a page without editing the full content. USE WHEN: User says "add category X to this page", "remove this from category Y", "categorize this page". NOT FOR: Listing categories (use mediawiki_list_categories). Not for viewing category members (use mediawiki_get_category_members). PARAMETERS:
RETURNS: Which categories were added, removed, already present, or not found. Includes revision ID, diff URL, and undo instructions. NOTE: Requires authentication (bot password) to apply changes. Anonymous sessions cannot edit. |
| mediawiki_move_pageA | Move (rename) a wiki page. Creates a redirect from the old title. USE WHEN: User says "rename the page", "move X to Y", "change the page title". NOT FOR: Editing page content (use mediawiki_edit_page or mediawiki_find_replace). PARAMETERS:
RETURNS: Includes revision ID, diff URL, and undo instructions. WARNING: Requires authentication (bot password) and move permissions. Creates a redirect from the old title by default. |
| mediawiki_parseA | Parse wikitext and return rendered HTML. USE WHEN: User wants to preview wikitext rendering, test markup syntax. PARAMETERS:
RETURNS: Rendered HTML output. |
| mediawiki_resolve_titleA | RECOVERY tool when page not found due to case sensitivity or typos. USE WHEN: User got "page not found" and suspects wrong capitalization or spelling. E.g., "module overview" should be "Module Overview". NOT FOR: Finding pages about a topic (use mediawiki_search instead). PARAMETERS:
RETURNS: Suggested correct page titles with confidence scores. |
| mediawiki_searchA | Search ACROSS the entire wiki for pages containing specific text. USE WHEN: User asks "find pages about X", "where is X documented", "search for X", or doesn't know which page contains information. NOT FOR: Searching within a specific known page (use mediawiki_search_in_page instead). PARAMETERS:
RETURNS: Page titles, snippets with highlights, and relevance scores. |
| mediawiki_search_and_readA | Search wiki AND read the top result(s) in a single call. USE WHEN: User asks a question about wiki content. This is the fastest path from question to answer — eliminates the search-then-read round trip. NOT FOR: Known page titles (use mediawiki_get_page directly). Not for listing search results without reading (use mediawiki_search). PARAMETERS:
RETURNS: Full content of top result(s) plus remaining search hits as summaries. |
| mediawiki_search_in_fileA | Search for text within wiki-hosted files (PDFs, text files). USE WHEN: User asks "search the PDF for X", "find X in the uploaded document". NOT FOR: Searching wiki pages (use mediawiki_search or mediawiki_search_in_page). PARAMETERS:
RETURNS: Matches with page numbers (for PDFs) or line numbers. NOTE: Supports text-based PDFs and text files (TXT, MD, CSV, JSON, XML, HTML). Scanned/image PDFs require OCR and are not supported. |
| mediawiki_search_in_pageA | Search WITHIN a known page (not across wiki). USE WHEN: User says "find X on page Y", "does page Y mention X", "search for X in the Configuration page". NOT FOR: Finding which page contains info (use mediawiki_search instead). PARAMETERS:
RETURNS: Matches with line numbers and surrounding context. |
| mediawiki_upload_fileA | Upload a file to the wiki from base64 bytes or a URL. USE WHEN: User says "upload this image", "add file to wiki", "import document". PARAMETERS:
RETURNS: Upload status and file page URL. Includes revision ID, diff URL, and undo instructions. NOTE: Requires authentication. For file_url, the URL must be publicly accessible. SECURITY: file_data uploads bytes directly and never triggers a server-side fetch, so the allowlist/SSRF gates do not apply to that path. For file_url, the source host must be on the MEDIAWIKI_UPLOAD_ALLOWED_DOMAINS env-var allowlist (fail-closed when unset), and private/internal IPs are blocked unconditionally. Decoded file_data is capped at 100 MiB by default — matching MediaWiki's default max upload size — and is adjustable via MEDIAWIKI_MAX_UPLOAD_DATA_BYTES. ignore_warnings=true overwrites existing files; the destructive-hint annotation is set so hosts that gate destructive operations will prompt before this runs. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 43 tools
The descriptions are unusually explicit, using USE WHEN and NOT FOR clauses to route between near-pairs (get_page vs get_page_summary vs get_sections vs get_page_info; search vs search_in_page vs search_in_file; find_replace vs bulk_replace; get_related vs find_similar_pages). The single-vs-batch variants (get_external_links/get_external_links_batch, get_page_info/batch_get_pages_info) are clearly demarcated. The only residual ambiguity is the dense cluster of page-content readers where overlap is inherent.
Almost everything follows a predictable mediawiki_verb_noun snake_case pattern (list_pages, get_revisions, check_links, find_replace). The main blemish is inconsistent placement of the 'batch' qualifier: batch_get_pages (prefix) versus get_external_links_batch (suffix). Naming is still highly readable and uniform overall.
At 43 tools the surface is well beyond the 25+ threshold for 'too many,' and there is real redundancy: single-vs-batch duplicates (get_external_links/get_external_links_batch, get_page_info/batch_get_pages_info), four overlapping content readers, and four search variants. Each tool is individually reasonable, but the set could be consolidated substantially.
Coverage is broad: read/search/edit/replace, categories, moves, uploads, history, terminology and translation checks, and link auditing. Gaps are minor but notable — there is no page-delete or revision-revert/rollback tool, and no protection management. Agents can work around these, so it is not a blocking gap.