مساعدة API ميدياويكي

هذه صفحة توثيق ميدياويكي API التي تم إنشاؤها تلقائيا.

وثائق وأمثلة: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

prop=moderationpreload (mp)

(main | query | moderationpreload)
  • هذه الوحدة تتطلب صلاحيات القراءة.
  • المصدر:Moderation
  • الترخيص: GPL-3.0+

If the current user made an edit which is currently awaiting moderation, retrieve the text of this revision.

وسائط:
Other general parameters are available.
mpmode

Expected format, either wikitext or parsed HTML.

إحدى القيم التالية: parsed، wikitext
الافتراضي: wikitext
mptitle

Title of the page. Cannot be used together with mppageid.

mppageid

Page ID of the page. Cannot be used together with mptitle.

النوع: 2 = قائمة الأعداد الصحيحة
mpsection

Only retrieve the content of this section number.

أمثلة:
Get wikitext of the pending edit by this user in the page Cat.
api.php?action=query&prop=moderationpreload&mptitle=Cat [فتح في ملعب]
Get HTML of the pending edit by this user in the page Dog.
api.php?action=query&prop=moderationpreload&mptitle=Dog&mpmode=parsed [فتح في ملعب]
Get wikitext of section #2 (third section) of the pending edit by this user in the page Cat.
api.php?action=query&prop=moderationpreload&mptitle=Cat&mpsection=2 [فتح في ملعب]