මාධ්යවිකි API උදවු
මෙය ස්වයං-ජනිත මාධ්යවිකි API ප්රලේඛන පිටුවකි.
ප්රලේඛනය සහ උදාහරණ: https://www.mediawiki.org/wiki/API
action=stashedit
(main | stashedit)
- මෙම ඒකකය අභ්යන්තර හෝ අස්ථායි. එහි ක්රියාකාරිත්වය දැනුම් දීමකින් තොරව වෙනස් වියහැක.
- මෙම ඒකකය සදහා හිමිකම් කියවීම අවශ්ය වේ.
- මෙම ඒකකය සදහා හිමිකම් ලිවීම අවශ්ය වේ.
- මෙම ඒකකය 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.
පරාමිතීන්:
Other general parameters are available.
- title
Title of the page being edited.
- This parameter is required.
- 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: (හිස්)
- contentmodel
Content model of the new content.
- This parameter is required.
- එක් වටිනාකමක්: GadgetDefinition, css, javascript, json, text, unknown, vue, wikitext
- contentformat
Content serialization format used for the input text.
- This parameter is required.
- එක් වටිනාකමක්: application/json, application/octet-stream, application/unknown, application/vue+xml, 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
action=query&meta=tokens මගින් "csrf" සංඥාව සොයාගන්නා ලදී
- This parameter is required.