미디어위키 API 도움말

이 페이지는 자동으로 생성된 미디어위키 Action API 설명문서입니다.

prop=moderationpreload (mp)

(main | query | moderationpreload)
  • 이 모듈은 read 권한을 요구합니다.
  • 출처: Moderation
  • 라이선스: GPL-3.0+

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

특정 매개변수:
다른 일반 매개변수를 사용할 수 있습니다.
mpmode

Expected format, either wikitext or parsed HTML.

다음 값 중 하나: parsed, wikitext 또는 다른 문자열: 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.

유형: 정수
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 [연습장에서 열기]