API:Stabilize

Prefix: None Required Rights: None POST Only? No  Change page stability settings.

Parameters

 * autoreview – Auto-review restriction.
 * Type: one of sysop, none


 * default – Default revision to show.
 * Type: one of latest, stable


 * expiry – Expiry for these settings . Type: string
 * reason – Reason . Type: string
 * review – Review this page . Type: bool
 * title – Title of page to be stabilized . Type: string
 * token – An edit token retrieved through prop=info . Type: string
 * watch – Watch this page . Type: string

Errors Codes

 * badtoken – Invalid token.
 * invalidtitle – Target page does not exist..
 * invalidtitle – Invalid title given..
 * invalidtitle – Title given does not correspond to a reviewable page..
 * mustbeposted – The stabilize module requires a POST request.
 * noapiwrite – Editing of this wiki through the API is disabled. Make sure the $wgEnableWriteAPI=true; statement is included in the wiki's LocalSettings.php file.
 * nodefault – The default parameter must be set.
 * notitle – The title parameter must be set.
 * notoken – The token parameter must be set.
 * notoken – The token parameter must be set.
 * readapidenied – You need read permission to use this module.
 * writeapidenied – You're not allowed to edit this wiki through the API.