MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=stashedit

(main | stashedit)
  • This module is internal or unstable. Its operation may change without notice.
  • Denne modulen krever lesetilgang.
  • Denne modulen aksepterer bare POST forespørsler.
  • Source: MediaWiki
  • License: GPL-2.0+

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.

Parametre:
title

Title of the page being edited.

Denne parameteren er påkrevd.
section

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

sectiontitle

The title for a new section.

text

Page content.

Denne parameteren er påkrevd.
contentmodel

Content model of the new content.

Denne parameteren er påkrevd.
One of the following values: wikitext, javascript, json, css, text
contentformat

Content serialization format used for the input text.

Denne parameteren er påkrevd.
One of the following values: text/x-wiki, text/javascript, application/json, text/css, text/plain
baserevid

Revision ID of the base revision.

Denne parameteren er påkrevd.
Type: integer
token

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

Denne parameteren er påkrevd.