미디어위키 API 도움말

이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.

설명 문서 및 예시: https://www.mediawiki.org/wiki/API

action=changecontentmodel

(main | changecontentmodel)
  • 이 모듈은 read 권한을 요구합니다.
  • 이 모듈은 write 권한을 요구합니다.
  • 이 모듈은 POST 요청만을 허용합니다.
  • 출처: MediaWiki
  • 라이선스: GPL-2.0-or-later

Change the content model of a page

변수:
title

Title of the page to change the contentmodel of. Cannot be used together with pageid.

pageid

Page ID of the page to change the contentmodel of. Cannot be used together with title.

Type: integer
summary

Edit summary and log entry reason

tags

Change tags to apply to the log entry and edit.

값 (|로 구분): 또는 다른 문자열:
model

Content model of the new content.

이 변수는 필수입니다.
다음 값 중 하나: GadgetDefinition, JsonSchema, MassMessageListContent, Scribunto, SecurePoll, css, javascript, json, sanitized-css, text, wikitext 또는 다른 문자열: GadgetDefinition, JsonSchema, MassMessageListContent, Scribunto, SecurePoll, css, javascript, json, sanitized-css, text, wikitext
bot

Mark the content model change with a bot flag.

Type: boolean (details)
token

"csrf" 토큰은 action=query&meta=tokens에서 가져옵니다

이 변수는 필수입니다.