رہنمائے میڈیاویکی اےپی‌آئی

ذیل میں میڈیاویکی اےپی‌آئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔

دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=stashedit

(main | stashedit)
  • یہ ماڈیول اندرونی یا غیر مستحکم ہے۔ چنانچہ بغیر کسی اطلاع کے اس کا طریقۂ کار تبدیل ہو سکتا ہے۔
  • اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
  • اس ماڈیول کو اختیارات تحریر درکار ہیں۔
  • یہ ماڈیول فقط 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.

مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
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

Page content.

stashedtexthash

Page content hash from a prior stash to use instead.

summary

Change summary.

طے شدہ: (خالی)
contentmodel

Content model of the new content.

یہ پیرامیٹر لازمی ہے۔
ذیل کی قدروں میں سے کوئی ایک: GadgetDefinition، JsonSchema، MassMessageListContent، Scribunto، SecurePoll، css، flow-board، javascript، json، sanitized-css، text، unknown، wikitext
contentformat

Content serialization format used for the input text.

یہ پیرامیٹر لازمی ہے۔
ذیل کی قدروں میں سے کوئی ایک: 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.

یہ پیرامیٹر لازمی ہے۔
Type: integer
token

A "csrf" token retrieved from action=query&meta=tokens

یہ پیرامیٹر لازمی ہے۔