Skip to main content
Glama

mediawiki_apply_formatting

Apply formatting markup like bold, italic, strikethrough, underline, or code to specific text on MediaWiki pages. Preview changes before saving to ensure correct formatting.

Instructions

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:

  • title: Page name (required)

  • text: Text to format (required)

  • format: Formatting type (required):

    • "strikethrough": text (for removed/former items)

    • "bold": '''text'''

    • "italic": ''text''

    • "underline": text

    • "code": text

  • all: Format all occurrences (default false)

  • preview: Preview changes (default true)

  • summary: Edit summary

RETURNS: Preview of formatting applied. Set preview=false to apply.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesPage title to edit
textYesText to find and format
formatYesFormat to apply: 'strikethrough', 'bold', 'italic', 'underline', 'code', 'nowiki'
allNoApply to all occurrences (default: first only)
previewNoPreview changes without saving
summaryNoEdit summary (auto-generated if empty)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/olgasafonova/mediawiki-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server