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=managemessagegroups

(main | managemessagegroups)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • This module only accepts POST requests.
  • Source: Translate
  • License: GPL-2.0-or-later

Add a message as a rename of an existing message or a new message in the group during imports

Parameters:
groupId

Group Id

This parameter is required.
renameMessageKey

Target message key being renamed

messageKey

Replacement message key

This parameter is required.
operation

The operation to be performed. Possible values - rename / new

This parameter is required.
One of the following values: new, rename
changesetName

Change set name - Default / Unattended / Mediawiki etc.

Default: default
changesetModified

Unix timestamp of when the changeset was last modified. If the changeset has been modified after this the API will throw an error.

This parameter is required.
Type: integer
token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.