MediaWiki API hulp

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=editslot

(main | editslot)
  • Voor deze module zijn leesrechten nodig.
  • Voor deze module zijn schrijfrechten nodig.
  • This module only accepts POST requests.
  • Bron: WSSlots
  • Licentie: GPL-2.0-or-later

Create and edit slots on pages.

Parameters:
title

Title of the page to edit. Cannot be used together with pageid.

pageid

Page ID of the page to edit. Cannot be used together with title.

Type: integer
text

Page content to insert or append.

slot

The name of the slot to edit.

Standaard: main
append

Whether to append the text to the existing slot content

Type: boolean (details)
summary

Edit summary.

Default: (empty)
watchlist
⧼apihelp-editslot-param-watchlist⧽
Default: (empty)
token

A "csrf" token retrieved from action=query&meta=tokens

Deze parameter is vereist.