MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=stabilize

(main | stabilize)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.

Change page stability settings.

Параметры:
default

Default revision to show.

One value: latest, stable
autoreview

Auto-review restriction.

One value: sysop, none
По умолчанию: none
expiry

Expiry for these settings.

По умолчанию: infinite
reason

Reason.

По умолчанию: (пусто)
review

Review this page.

watch

Watch this page.

token

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

Этот параметр является обязательным.
title

Title of the page to be stabilized.

Пример:
Set Test to display the stable revision by default
api.php?action=stabilize&title=Test&default=stable&reason=Test&token=123ABC