راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=stashedit
(main | stashedit)
- This module is internal or unstable, and you should not use it. Its operation may change without notice.
- این پودمان نیازمند اختیارات خواندن است.
- این پودمان نیازمند اختیارات خواندن است.
- این پودمان تنها درخواستهای POST را میپذیرد.
- منبع: MediaWiki
- مجوز: 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. 
- این پارامتر الزامی است.
- section
- Section identifier. 0 for the top section, new for a new section. 
- sectiontitle
- The title for a new section. 
- text
- محتوای صفحه. 
- stashedtexthash
- Page content hash from a prior stash to use instead. 
- summary
- خلاصه تغییرات. 
- پیشفرض: (خالی)
- contentmodel
- مدل محتوا برای محتوای تازه. 
- این پارامتر الزامی است.
- یکی از مقدارهای زیر: css، javascript، json، text، unknown، wikitext
- contentformat
- قالب تسلسل محتوای مورد استفاده برای متن ورودی. 
- این پارامتر الزامی است.
- یکی از مقدارهای زیر: 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. 
- این پارامتر الزامی است.
- نوع: عدد صحیح
- token
- یک بلیط «csrf» واکشیشده از action=query&meta=tokens 
- این پارامتر الزامی است.