API:Coderevisionupdate

Prefix: None Required Rights: None POST Only? No

Submit comments, new status and tags to a revision

Parameters

  • addflagsCode Signoff flags to assign to the revision by the current user.
Type: one of inspected, tested
  • addreferences. Type: integer
  • addtagsTags to be added to the revision. Type: string
  • commentComment to add to the revision. Type: string
  • removeflagsCode Signoff flags to strike from the revision by the current user.
Type: one of inspected, tested
  • removereferences. Type: integer
  • removetagsTags to be removed from the revision. Type: string
  • repo (required)Name of repository. Type: string
  • rev (required)Revision ID number. Type: integer
  • statusStatus to set the revision to.
Type: one of new, fixme, reverted, resolved, ok, deferred, old

Errors Codes

  • invalidrepoInvalid repo ``repo''.
  • mustbepostedThe coderevisionupdate 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.
  • norepoThe repo parameter must be set.
  • norepoThe repo parameter must be set.
  • norevThe rev parameter must be set.
  • norevThe rev parameter must be set.
  • nosuchrevThere is no revision with ID 'rev'.
  • permissiondeniedYou don't have permission to update code.
  • readapideniedYou need read permission to use this module.
  • writeapideniedYou're not allowed to edit this wiki through the API.
Category:Auto-generated PageCategory:MediaWiki API
Category:Auto-generated Page Category:MediaWiki API