MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=changecontentmodel

(main | changecontentmodel)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Change the content model of a page

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.

⧼paramvalidator-help-type-integer⧽
summary
⧼api-help-param-no-description⧽
tags
⧼api-help-param-no-description⧽
⧼paramvalidator-help-type-enum⧽
model
⧼api-help-param-no-description⧽
⧼paramvalidator-help-required⧽
⧼paramvalidator-help-type-enum⧽
bot
⧼api-help-param-no-description⧽
⧼paramvalidator-help-type-presenceboolean⧽
token
⧼api-help-param-token⧽
⧼paramvalidator-help-required⧽