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. 
- This parameter is required.
- 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í. 
- Implicitní hodnota: (prázdné)
- contentmodel
- Content model of the new content. 
- This parameter is required.
- Jedna z následujících hodnot: css, javascript, json, sanitized-css, text, translate-messagebundle, unknown, wikitext
- contentformat
- Content serialization format used for the input text. 
- This parameter is required.
- Jedna z následujících hodnot: 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. 
- This parameter is required.
- Type: integer
- token
- Token typu „csrf“ získaný pomocí action=query&meta=tokens. 
- This parameter is required.