Помош со Извршникот на МедијаВики

Ова е самосоздадена документациска страница за извршникот на МедијаВики.

Документација и примери: https://www.mediawiki.org/wiki/API

action=stashedit

(main | stashedit)
  • Овој модул е внатрешен или нестабилен. Работењето може да му се промени без предупредување.
  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

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.

Параметри:
title

Title of the page being edited.

Овој параметар е задолжителен.
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

Change summary.

contentmodel

Content model of the new content.

Овој параметар е задолжителен.
Една вредност: wikitext, javascript, json, css, text
contentformat

Content serialization format used for the input text.

Овој параметар е задолжителен.
Една вредност: text/x-wiki, text/javascript, application/json, text/css, text/plain
baserevid

Revision ID of the base revision.

Овој параметар е задолжителен.
Тип: цел број
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.