API:Stabilize

Category:MediaWiki action API

Change page stability settings. Applies only to wikis with Extension:FlaggedRevs installed.

Parameters

  • autoreviewAuto-review restriction.
Type: one of sysop, none
  • defaultDefault revision to show.
Type: one of latest, stable
  • expiryExpiry for these settings. Type: string
  • reasonReason. Type: string
  • reviewReview this page. Type: bool
  • titleTitle of page to be stabilized. Type: string
  • tokenAn edit token retrieved through prop=info. Type: string
  • watchWatch this page. Type: string

Error codes

  • badtokenInvalid token.
  • invalidtitleTarget page does not exist..
  • invalidtitleInvalid title given..
  • invalidtitleTitle given does not correspond to a reviewable page..
  • mustbepostedThe stabilize module requires a POST request.
  • noapiwriteEditing of this wiki through the API is disabled. Make sure the $wgEnableWriteAPI=true; statement is included in the wiki's LocalSettings.php file.
  • nodefaultThe default parameter must be set.
  • notitleThe title parameter must be set.
  • notokenThe token parameter must be set.
  • readapideniedYou need read permission to use this module.
  • writeapideniedYou're not allowed to edit this wiki through the API.
Category:Auto-generated Page Category:MediaWiki API
Category:Auto-generated Page Category:MediaWiki API Category:MediaWiki action API