MedijaViki API pagalba
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 requires write rights.
- This module only accepts POST requests.
- Šaltinis: MediaWiki
- Licencija: 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.
Parametrai:
- title
Puslapio pavadinimas buvo redaguotas.
- Šis parametras yra reikalingas.
- section
Section number. 0 for the top section, new for a new section.
- sectiontitle
Naujo skyriaus pavadinimas.
- text
Puslapio turinys.
- stashedtexthash
Page content hash from a prior stash to use instead.
- summary
Keisti santrauką.
- contentmodel
Content model of the new content.
- Šis parametras yra reikalingas.
- One of the following values: wikitext, javascript, json, css, text
- contentformat
Content serialization format used for the input text.
- Šis parametras yra reikalingas.
- One of the following values: text/x-wiki, text/javascript, application/json, text/css, text/plain
- baserevid
Revision ID of the base revision.
- Šis parametras yra reikalingas.
- Type: integer
- token
A "csrf" token retrieved from action=query&meta=tokens
- Šis parametras yra reikalingas.