MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=editslots

(main | editslots)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: WSSlots
  • License: GPL-2.0-or-later

Edit multiple slots on a page. Note that slot parameters are automatically create from keys in 'WSSlotsDefinedSlots' with a 'slot_' prefix

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
append

Whether to append the text to the existing slot content

Type: boolean (details)
summary

Edit summary.

Default: (empty)
watchlist

Whether to add this page to your watchlist.

Default: (empty)
slot_main

Content of the slot to insert or append.

slot_ws-base-props

Content of the slot to insert or append.

slot_ws-class-props

Content of the slot to insert or append.

slot_ws-seo-props

Content of the slot to insert or append.

slot_ws-data

Content of the slot to insert or append.

token

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

This parameter is required.