Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentaÄnà stránka k MediaWiki API.
Dokumentace a pÅÃklady: https://www.mediawiki.org/wiki/API
action=stashedit
(main | stashedit)
- Tento modul je internà nebo nestabilnÃ. Jeho funkÄnost se může bez pÅedchozÃho upozornÄnà zmÄnit.
- Tento modul vyžaduje oprávnÄnà ke ÄtenÃ.
- Tento modul vyžaduje oprávnÄnà k zápisu.
- Tento modul pÅijÃmá pouze požadavky POST.
- Zdroj: MediaWiki
- Licence: 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.
Parametry:
- title
Title of the page being edited.
- Tento parametr je povinný.
- section
Section number. 0 for the top section, new for a new section.
- sectiontitle
The title for a new section.
- text
Page content.
- stashedtexthash
Page content hash from a prior stash to use instead.
- summary
ZmÄnit shrnutÃ.
- contentmodel
Content model of the new content.
- Tento parametr je povinný.
- Jedna z následujÃcÃch hodnot: wikitext, javascript, json, css, text
- contentformat
Content serialization format used for the input text.
- Tento parametr je povinný.
- Jedna z následujÃcÃch hodnot: text/x-wiki, text/javascript, application/json, text/css, text/plain
- baserevid
Revision ID of the base revision.
- Tento parametr je povinný.
- Typ: celé ÄÃslo
- token
Token typu âcsrfâ zÃskaný pomocà action=query&meta=tokens.
- Tento parametr je povinný.