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
- 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
- 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_jsonschema
Content of the slot to insert or append.
- slot_jsondata
Content of the slot to insert or append.
- slot_schema_template
Content of the slot to insert or append.
- slot_data_template
Content of the slot to insert or append.
- slot_header_template
Content of the slot to insert or append.
- slot_footer_template
Content of the slot to insert or append.
- slot_header
Content of the slot to insert or append.
- slot_footer
Content of the slot to insert or append.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.