MediaWiki API help

πŸ“ˆ Premium Crypto Signals – 100% Free

πŸš€ Get exclusive signals from expensive private trader channels β€” completely free for you.

βœ… Just register on BingX via our link β€” no fees, no subscriptions.

πŸ”“ No KYC unless depositing over 50,000 USDT.

πŸ’‘ Why free? Because when you win, we win β€” you’re our referral and your profit is our motivation.

🎯 Winrate: 70.59% β€” real results from real trades.

Join @refobibobot on Telegram

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.

Type: integer
summary

Edit summary and log entry reason

tags

Change tags to apply to the log entry and edit.

Values (separate with | or alternative):
model

Content model of the new content.

This parameter is required.
One of the following values: css, javascript, json, text, 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.
Example:
Change the main page to have the text content model
api.php?action=changecontentmodel&title=Main Page&model=text&token=123ABC [open in sandbox]

🎯 70.59% Winrate – Let’s Make You Profit

Get paid-quality signals for free β€” only for BingX users registered via our link.

πŸ’‘ You profit β†’ We profit. Simple.

Get Free Signals Now