Wikipedia / MediaWiki · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for MediaWiki Core REST Pages API

7 actions 7 updates phrasing extends openapi/wikipedia-pages-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 7

$.info
$.paths['/page/{title}'].get
$.paths['/page/{title}'].put
$.paths['/page/{title}/bare'].get
$.paths['/page/{title}/html'].get
$.paths['/page/{title}/with_html'].get
$.paths['/page'].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 MediaWiki Core REST Pages API
  version: 1.0.0
extends: openapi/wikipedia-pages-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: 6
- target: $.paths['/page/{title}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a wiki page's wikitext
      effect: read
      questions:
      - How do I read the wikitext of a Wikipedia page?
      - Can I follow redirects when fetching a page by title?
      instructions:
      - text: Get the wikitext of page {title}.
        slots:
          title: path.title
      - text: Fetch page {title} with redirects set to {redirect}.
        slots:
          title: path.title
          redirect: query.redirect
      method: generated
      generated: '2026-11-18'
- target: $.paths['/page/{title}'].put
  update:
    x-apievangelist-phrasing:
      intent: Edit or create a wiki page
      effect: write
      questions:
      - How do I edit an existing Wikipedia page?
      - Can I create a page that doesn't exist yet?
      instructions:
      - text: Update page {title} with wikitext {source} and comment {comment}.
        slots:
          title: path.title
          source: requestBody.source
          comment: requestBody.comment
      - text: Create or edit page {title} using edit token {token}.
        slots:
          title: path.title
          token: requestBody.token
      method: generated
      generated: '2026-11-18'
- target: $.paths['/page/{title}/bare'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a page's metadata without its content
      effect: read
      questions:
      - How do I get a page's metadata without its wikitext?
      - Where can I find a link to a page's rendered HTML?
      instructions:
      - text: Get the bare metadata for page {title}.
        slots:
          title: path.title
      - text: Show me the metadata of {title} without its content.
        slots:
          title: path.title
      method: generated
      generated: '2026-11-18'
- target: $.paths['/page/{title}/html'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a page rendered as HTML
      effect: read
      questions:
      - How do I get the rendered HTML of a Wikipedia page?
      - Can I fetch a page's HTML output instead of its wikitext?
      instructions:
      - text: Get the rendered HTML of page {title}.
        slots:
          title: path.title
      - text: Show me how {title} looks when rendered.
        slots:
          title: path.title
      method: generated
      generated: '2026-11-18'
- target: $.paths['/page/{title}/with_html'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a page's metadata and HTML together
      effect: read
      questions:
      - Can I fetch both a page's metadata and its rendered HTML in one call?
      - What does a page's metadata look like along with its HTML?
      instructions:
      - text: Get metadata and HTML for page {title}.
        slots:
          title: path.title
      - text: Fetch {title} with both metadata and rendered HTML.
        slots:
          title: path.title
      method: generated
      generated: '2026-11-18'
- target: $.paths['/page'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a new wiki page
      effect: write
      questions:
      - How do I create a new Wikipedia page?
      - What do I need to create a page that doesn't exist yet?
      instructions:
      - text: Create page {title} with wikitext {source} and comment {comment}.
        slots:
          title: requestBody.title
          source: requestBody.source
          comment: requestBody.comment
      - text: Create a new wiki page {title} using CSRF token {token}.
        slots:
          title: requestBody.title
          token: requestBody.token
      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-pages-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.