MediaWiki API yardımı

Bu otomatik olarak oluşturulan bir MediaWiki API belgelenme sayfasıdır.

Belgeler ve örnekler: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

prop=moderationpreload (mp)

(main | query | moderationpreload)
  • Bu modül okuma hakları gerektirir.
  • Kaynak: Moderation
  • Lisans: GPL-3.0+

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

Parametre:
mpmode

Expected format, either wikitext or parsed HTML.

Aşağıdaki değerlerden biri: parsed, wikitext
Varsayılan: wikitext
mptitle

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

mppageid

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

Tür: tamsayı
mpsection

Only retrieve the content of this section number.

Örnekler:
Get wikitext of the pending edit by this user in the page Cat.
api.php?action=query&prop=moderationpreload&mptitle=Cat [sandbox'ta açın]
Get HTML of the pending edit by this user in the page Dog.
api.php?action=query&prop=moderationpreload&mptitle=Dog&mpmode=parsed [sandbox'ta açın]
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 [sandbox'ta açın]
"https://tiplopedi.com/index.php/Özel:ApiHelp" sayfasından alınmıştır