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.
- Source: Flagged Revisions
- License: GPL-2.0+
Change page stability settings.
Parameters:
- default
Default revision to show.
- One of the following values: latest, stable
- autoreview
Auto-review restriction.
- One of the following values: sysop, none
- Default: none
- expiry
Expiry for these settings.
- Default: infinite
- reason
Reason.
- Default: (empty)
- review
Review this page.
- Type: boolean (details)
- watch
Watch this page.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
- title
Title of the page to be stabilized.
Example:
- Set Test to display the stable revision by default
- api.php?action=stabilize&title=Test&default=stable&reason=Test&token=123ABC