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=stashedit

(main | stashedit)
  • Deze module is voor intern gebruik of nog niet stabiel. De functionaliteit kan zonder enige voorafgaande melding wijzigen.
  • Voor deze module zijn leesrechten nodig.
  • Voor deze module zijn schrijfrechten nodig.
  • This module only accepts POST requests.
  • Bron: MediaWiki
  • Licentie: GPL-2.0-or-later

Prepare an edit in shared cache.

This is intended to be used via AJAX from the edit form to improve the performance of the page save.

Specifieke parameters:
Other general parameters are available.
title

Title of the page being edited.

Deze parameter is vereist.
section

Section identifier. 0 for the top section, new for a new section.

sectiontitle

De titel van een nieuw kopje.

text

Pagina-inhoud.

stashedtexthash

Page content hash from a prior stash to use instead.

summary

Wijzigingssamenvatting.

Default: (empty)
contentmodel

Content model of the new content.

Deze parameter is vereist.
Een van de volgende waarden: GeoJSON, GeoJson, css, javascript, json, smw/schema, text, unknown, wikitext
contentformat

Content serialization format used for the input text.

Deze parameter is vereist.
Een van de volgende waarden: application/json, application/octet-stream, application/unknown, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
baserevid

Revision ID of the base revision.

Deze parameter is vereist.
Type: integer
token

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

Deze parameter is vereist.