MediaWiki API help

This is an auto-generated MediaWiki Action API documentation page.

action=changecontentmodel

(main | changecontentmodel)
  • มอดูลนี้ต้องการสิทธิในการอ่าน
  • มอดูลนี้ต้องการสิทธิในการเขียน
  • มอดูลนี้ยอมรับเฉพาะคำขอ POST เท่านั้น
  • แหล่งที่มา: MediaWiki
  • สัญญาอนุญาต: GPL-2.0-or-later

เปลี่ยนตัวแบบเนื้อหาของหน้า

Specific parameters:
Other general parameters are available.
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

เปลี่ยนแท็กเพื่อนำไปใช้กับหน่วยปูมและแก้ไข

ค่า (คั่นด้วย | หรือข้อความทดแทน):
model

ตัวแบบเนื้อหาของเนื้อหาใหม่

This parameter is required.
ค่าใดค่าหนึ่งต่อไปนี้: css, javascript, json, text, vue, wikitext
bot

Mark the content model change with a bot flag.

Type: boolean (details)
token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.