API:Coderevisionupdate

Prefix: None Required Rights: None POST Only? No

Submit comments, new status and tags to a revision

Parameters

edit
  • addflags – Code Signoff flags to assign to the revision by the current user.
Type: one of inspected, tested
  • addreferences – . Type: integer
  • addtags – Tags to be added to the revision. Type: string
  • comment – Comment to add to the revision. Type: string
  • removeflags – Code Signoff flags to strike from the revision by the current user.
Type: one of inspected, tested
  • removereferences – . Type: integer
  • removetags – Tags to be removed from the revision. Type: string
  • repo (required) – Name of repository. Type: string
  • rev (required) – Revision ID number. Type: integer
  • status – Status to set the revision to.
Type: one of new, fixme, reverted, resolved, ok, deferred, old

Errors Codes

edit
  • invalidrepo – Invalid repo ``repo''.
  • mustbeposted – The coderevisionupdate 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.
  • norepo – The repo parameter must be set.
  • norepo – The repo parameter must be set.
  • norev – The rev parameter must be set.
  • norev – The rev parameter must be set.
  • nosuchrev – There is no revision with ID 'rev'.
  • permissiondenied – You don't have permission to update code.
  • readapidenied – You need read permission to use this module.
  • writeapidenied – You're not allowed to edit this wiki through the API.