MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=stashedit
(main | stashedit)
- This module is internal or unstable. Its operation may change without notice.
- Ta modul zahteva pravice branja.
- This module requires write rights.
- Ta modul sprejema samo zahtevke POST.
- Source: MediaWiki
- License: 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.
Specifični parametri:
Na voljo so tudi drugi splošni parametri.
- title
Naslov urejane strani.
- Ta parameter je obvezen.
- section
Section identifier. 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
Change summary.
- Default: (empty)
- contentmodel
Content model of the new content.
- Ta parameter je obvezen.
- One of the following values: css, javascript, json, text, unknown, wikitext
- contentformat
Content serialization format used for the input text.
- Ta parameter je obvezen.
- One of the following values: 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.
- Ta parameter je obvezen.
- Vtipkajte: celo število
- token
A "csrf" token retrieved from action=query&meta=tokens
- Ta parameter je obvezen.