Wikipedia / MediaWiki · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Wikipedia Transforms API

11 actions 11 updates phrasing extends openapi/wikipedia-transforms-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Wikipedia / MediaWiki's API. It is a proposal applied on top of the contract, not a document Wikipedia / MediaWiki publishes.
View Overlay File View on GitHub Overlay Specification

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

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Wikipedia Transforms API
  version: 1.0.0
extends: openapi/wikipedia-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: write
      questions:
      - How do I turn Parsoid-rendered HTML back into wikitext?
      - Can I keep the original wikitext's small syntactic variations when converting HTML back?
      instructions:
      - text: 'Convert this HTML back to wikitext: {html}.'
        slots:
          html: requestBody.html
      - text: Transform {html} to wikitext, scrubbing wikitext to {scrub_wikitext}.
        slots:
          html: requestBody.html
          scrub_wikitext: requestBody.scrub_wikitext
      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:
      - Can I convert HTML back to wikitext for a specific page title?
      - What happens to diffs when I convert a page's HTML back to wikitext?
      instructions:
      - text: Convert the HTML of page {title} back to wikitext.
        slots:
          title: path.title
      - text: Transform {html} to wikitext for {title}, scrubbing wikitext to {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 Parsoid HTML back to wikitext
      effect: write
      questions:
      - How do I turn a rendered Parsoid HTML version of a page back into wikitext?
      - Can I keep the wikitext diffs readable when converting HTML back to wikitext?
      instructions:
      - text: Convert HTML {html} of {title} revision {revision} back to wikitext.
        slots:
          html: requestBody.html
          title: path.title
          revision: path.revision
      - text: Transform Parsoid rendered HTML {html} at {title} rev {revision}, using the {if-match} ETag.
        slots:
          html: requestBody.html
          title: path.title
          revision: path.revision
          if-match: header.if-match
      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 just the body of the HTML output?
      instructions:
      - text: 'Convert this wikitext to HTML: {wikitext}.'
        slots:
          wikitext: requestBody.wikitext
      - text: Render {wikitext} as HTML, body-only set to {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 into HTML
      effect: write
      questions:
      - How do I render wikitext into HTML to preview it?
      - Can I get only the body HTML of a wikitext render?
      instructions:
      - text: Render wikitext {wikitext} for {title} into HTML.
        slots:
          wikitext: requestBody.wikitext
          title: path.title
      - text: Transform {wikitext} for page {title} into HTML, body only set to {body_only}.
        slots:
          wikitext: requestBody.wikitext
          title: path.title
          body_only: requestBody.body_only
      method: generated
      generated: '2026-11-18'
- target: $.paths['/transform/wikitext/to/html/{title}/{revision}'].post
  update:
    x-apievangelist-phrasing:
      intent: Render wikitext of a revision into HTML
      effect: write
      questions:
      - How do I preview a specific past revision of a page as HTML?
      - Can I stash a rendered HTML version of an old revision?
      instructions:
      - text: Render wikitext {wikitext} of {title} revision {revision} into HTML.
        slots:
          wikitext: requestBody.wikitext
          title: path.title
          revision: path.revision
      - text: Transform {wikitext} for {title} rev {revision} into HTML, stash set to {stash}.
        slots:
          wikitext: requestBody.wikitext
          title: path.title
          revision: path.revision
          stash: requestBody.stash
      method: generated
      generated: '2026-11-18'
- target: $.paths['/transform/wikitext/to/lint'].post
  update:
    x-apievangelist-phrasing:
      intent: Lint wikitext for errors
      effect: read
      questions:
      - How do I check wikitext for lint errors before saving it?
      - Can I validate wikitext against MediaWiki's lint rules?
      instructions:
      - text: 'Lint this wikitext for errors: {wikitext}.'
        slots:
          wikitext: requestBody.wikitext
      - text: Check {wikitext} for 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: read
      questions:
      - Can I lint wikitext against a page's context?
      - What lint errors does a page's wikitext have?
      instructions:
      - text: Lint the wikitext of page {title} for errors.
        slots:
          title: path.title
      - text: Check {wikitext} for lint errors in the context of {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: Check wikitext for lint errors
      effect: read
      questions:
      - How do I find parsing errors in wikitext before saving it?
      - Can Parsoid catch wikitext lint issues on an old revision?
      instructions:
      - text: Lint wikitext {wikitext} on {title} revision {revision} for errors.
        slots:
          wikitext: requestBody.wikitext
          title: path.title
          revision: path.revision
      - text: Check {wikitext} on {title} rev {revision} for wikitext lint problems.
        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 into mobile HTML
      effect: read
      questions:
      - How do I render wikitext for a mobile preview?
      - Can I get mobile HTML in a specific language?
      instructions:
      - text: Render wikitext {wikitext} for {title} into mobile HTML.
        slots:
          wikitext: requestBody.wikitext
          title: path.title
      - text: Transform {wikitext} of {title} into mobile HTML for language {lang}, output mode {mode}.
        slots:
          wikitext: requestBody.wikitext
          title: path.title
          lang: header.Accept-Language
          mode: header.output-mode
      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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/wikipedia-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.