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.
  • This module requires read rights.
  • This module only accepts POST requests.
Parameters:
title
(no description)
This parameter is required.
section
(no description)
sectiontitle
(no description)
text
(no description)
This parameter is required.
contentmodel
(no description)
This parameter is required.
One value: wikitext, javascript, json, css, text, Campaign
contentformat
(no description)
This parameter is required.
One value: text/x-wiki, text/javascript, application/json, text/css, text/plain
baserevid
(no description)
This parameter is required.
token

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

This parameter is required.