Wikimedia · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Wikimedia REST Transforms API
11 actions
11 updates
phrasing
extends
openapi/wikimedia-transforms-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Wikimedia's API. It is a proposal applied on top of the contract, not a document Wikimedia publishes.
What the actions change
x-apievangelist-phrasing
Targets 11
$.info
$.paths['/transform/html/to/wikitext'].post
$.paths['/transform/html/to/wikitext/{title}'].post
$.paths['/transform/html/to/wikitext/{title}/{revision}'].post
$.paths['/transform/wikitext/to/html'].post
$.paths['/transform/wikitext/to/html/{title}'].post
$.paths['/transform/wikitext/to/html/{title}/{revision}'].post
$.paths['/transform/wikitext/to/lint'].post
$.paths['/transform/wikitext/to/lint/{title}'].post
$.paths['/transform/wikitext/to/lint/{title}/{revision}'].post
$.paths['/transform/wikitext/to/mobile-html/{title}'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Wikimedia REST Transforms API
version: 1.0.0
extends: openapi/wikimedia-transforms-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 10
- target: $.paths['/transform/html/to/wikitext'].post
update:
x-apievangelist-phrasing:
intent: Convert Parsoid HTML back to wikitext
effect: read
questions:
- How do I turn Parsoid's HTML output back into wikitext for a page?
- Can I get raw wikitext from rendered HTML while keeping small edits?
instructions:
- text: Convert {html} to wikitext.
slots:
html: requestBody.html
- text: Turn this HTML {html} into wikitext preserving the original revision.
slots:
html: requestBody.html
method: generated
generated: '2026-11-18'
- target: $.paths['/transform/html/to/wikitext/{title}'].post
update:
x-apievangelist-phrasing:
intent: Convert HTML to wikitext for a page
effect: write
questions:
- How do I convert the HTML of a specific page back to wikitext?
- Can I scrub wikitext while converting page HTML?
instructions:
- text: Convert the HTML of page {title} back to wikitext.
slots:
title: path.title
- text: 'Transform {html} to wikitext for {title}, scrubbing wikitext: {scrub_wikitext}.'
slots:
html: requestBody.html
title: path.title
scrub_wikitext: requestBody.scrub_wikitext
method: generated
generated: '2026-11-18'
- target: $.paths['/transform/html/to/wikitext/{title}/{revision}'].post
update:
x-apievangelist-phrasing:
intent: Convert HTML to wikitext for a page revision
effect: write
questions:
- How do I convert the HTML of an older revision of a page back to wikitext?
- Can I validate the wikitext conversion against a specific revision?
instructions:
- text: Convert the HTML of revision {revision} of {title} back to wikitext.
slots:
revision: path.revision
title: path.title
- text: 'Transform {html} to wikitext for {title} revision {revision}, scrubbing wikitext: {scrub_wikitext}.'
slots:
html: requestBody.html
title: path.title
revision: path.revision
scrub_wikitext: requestBody.scrub_wikitext
method: generated
generated: '2026-11-18'
- target: $.paths['/transform/wikitext/to/html'].post
update:
x-apievangelist-phrasing:
intent: Convert wikitext to HTML
effect: write
questions:
- How do I render wikitext as HTML?
- Can I get only the body of the rendered HTML?
instructions:
- text: 'Convert this wikitext to HTML: {wikitext}.'
slots:
wikitext: requestBody.wikitext
- text: 'Render {wikitext} as HTML, returning only the body: {body_only}.'
slots:
wikitext: requestBody.wikitext
body_only: requestBody.body_only
method: generated
generated: '2026-11-18'
- target: $.paths['/transform/wikitext/to/html/{title}'].post
update:
x-apievangelist-phrasing:
intent: Render wikitext to HTML for a page
effect: read
questions:
- How do I get the rendered HTML of a page from its wikitext?
- Can I render wikitext to HTML for the latest revision of a page?
instructions:
- text: Render {wikitext} on page {title} to HTML.
slots:
wikitext: requestBody.wikitext
title: path.title
- text: Convert {wikitext} from {title} to HTML.
slots:
wikitext: requestBody.wikitext
title: path.title
method: generated
generated: '2026-11-18'
- target: $.paths['/transform/wikitext/to/html/{title}/{revision}'].post
update:
x-apievangelist-phrasing:
intent: Render wikitext to HTML for an older revision
effect: read
questions:
- Can I render wikitext from a specific past revision of a page to HTML?
- How do I preview an older revision's rendered output?
instructions:
- text: Render {wikitext} of {title} revision {revision} to HTML.
slots:
wikitext: requestBody.wikitext
title: path.title
revision: path.revision
- text: Get the HTML output of revision {revision} of {title}.
slots:
revision: path.revision
title: path.title
method: generated
generated: '2026-11-18'
- target: $.paths['/transform/wikitext/to/lint'].post
update:
x-apievangelist-phrasing:
intent: Lint wikitext for errors
effect: write
questions:
- How do I check wikitext for parsing errors before saving it?
- Can I lint wikitext without a page title?
instructions:
- text: 'Lint this wikitext for errors: {wikitext}.'
slots:
wikitext: requestBody.wikitext
- text: Check {wikitext} for wikitext lint errors.
slots:
wikitext: requestBody.wikitext
method: generated
generated: '2026-11-18'
- target: $.paths['/transform/wikitext/to/lint/{title}'].post
update:
x-apievangelist-phrasing:
intent: Lint wikitext for a page
effect: write
questions:
- How do I lint the wikitext of a specific page?
- Can I lint wikitext with the page's title to catch context-specific errors?
instructions:
- text: Lint the wikitext of page {title}.
slots:
title: path.title
- text: Check {wikitext} for wikitext lint errors on {title}.
slots:
wikitext: requestBody.wikitext
title: path.title
method: generated
generated: '2026-11-18'
- target: $.paths['/transform/wikitext/to/lint/{title}/{revision}'].post
update:
x-apievangelist-phrasing:
intent: Lint wikitext for errors
effect: read
questions:
- Can I check wikitext for syntax errors before rendering it?
- Does the API find broken markup in an older page revision?
instructions:
- text: Lint the wikitext of {title} revision {revision}.
slots:
title: path.title
revision: path.revision
- text: Check {wikitext} on {title} revision {revision} for lint errors.
slots:
wikitext: requestBody.wikitext
title: path.title
revision: path.revision
method: generated
generated: '2026-11-18'
- target: $.paths['/transform/wikitext/to/mobile-html/{title}'].post
update:
x-apievangelist-phrasing:
intent: Render wikitext as mobile HTML
effect: write
questions:
- How do I render wikitext as mobile-optimized HTML?
- Can I get mobile HTML for a page in a specific language?
instructions:
- text: Render {wikitext} as mobile HTML for {title}.
slots:
wikitext: requestBody.wikitext
title: path.title
- text: Render {wikitext} as mobile HTML for {title} in language {lang}.
slots:
wikitext: requestBody.wikitext
title: path.title
lang: header.Accept-Language
method: generated
generated: '2026-11-18'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/wikimedia-transforms-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.