MediaWiki-API-Hilfe
Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.
Dokumentation und Beispiele: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=moderationpreload (mp)
- Dieses Modul erfordert Leserechte.
- Quelle: Moderation
- Lizenz: GPL-3.0+
If the current user made an edit which is currently awaiting moderation, retrieve the text of this revision.
Parameter:
- mpmode
Expected format, either wikitext or parsed HTML.
- Einer der folgenden Werte: parsed, wikitext
- Standard: wikitext
- mptitle
Title of the page. Cannot be used together with mppageid.
- mppageid
Page ID of the page. Cannot be used together with mptitle.
- Typ: Ganzzahl
- mpsection
Only retrieve the content of this section number.
Beispiele:
- Get wikitext of the pending edit by this user in the page Cat.
- api.php?action=query&prop=moderationpreload&mptitle=Cat [in Spielwiese öffnen]
- Get HTML of the pending edit by this user in the page Dog.
- api.php?action=query&prop=moderationpreload&mptitle=Dog&mpmode=parsed [in Spielwiese öffnen]
- 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 [in Spielwiese öffnen]