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=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-or-later
Change page stability settings.
Parameters:
- default
Default revision to show.
- This parameter is required.
- One of the following values: latest, stable
- autoreview
Auto-review restriction.
- One of the following values: none, sysop
- 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.
- This parameter is required.
Example:
- Set Test to display the stable revision by default
- api.php?action=stabilize&title=Test&default=stable&reason=Test&token=123ABC [open in sandbox]