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)
 - prepend
 Whether to prepend the text to the existing slot content.
- Type: boolean (details)
 - summary
 Edit summary.
- Default: (empty)
 - watchlist
 Unconditionally add (watch) or remove (unwatch) the page from the current user's watchlist, use preferences (preferences), or do not change watch (nochange).
- One of the following values: nochange, preferences, unwatch, watch
 - Default: nochange
 - bot
 Whether to mark this edit as a bot edit.
- Type: boolean (details)
 - minor
 Whether to mark this edit as a minor edit.
- Type: boolean (details)
 - createonly
 Don't edit the page if it already exists.
- Type: boolean (details)
 - nocreate
 Don't create the page if it does not exist.
- Type: boolean (details)
 - suppress
 Whether to suppress the edit in recent changes.
- Type: boolean (details)
 - 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.