API module for managing message group changes. More...
Public Member Functions | |
execute () | |
isInternal () | |
needsToken () | |
Protected Member Functions | |
handleRename (MessageGroup $group, MessageSourceChange $sourceChanges, string $msgKey, string $keyToRename, string $sourceLanguage) | |
Handles rename requests. | |
handleSourceRename (MessageSourceChange $sourceChanges, string $code, string $msgKey, string $keyToRename) | |
handleNew (MessageSourceChange $sourceChanges, string $msgKey, string $sourceLang) | |
Handles add message as new request. | |
getAllowedParams () | |
API module for managing message group changes.
Marks message as a rename of another message or as a new message. Updates the cdb file.
Definition at line 26 of file ManageMessageGroupsActionApi.php.
MediaWiki\Extension\Translate\MessageGroupProcessing\ManageMessageGroupsActionApi::execute | ( | ) |
Definition at line 29 of file ManageMessageGroupsActionApi.php.
|
protected |
Definition at line 301 of file ManageMessageGroupsActionApi.php.
|
protected |
Handles add message as new request.
Definition at line 270 of file ManageMessageGroupsActionApi.php.
|
protected |
Handles rename requests.
Definition at line 113 of file ManageMessageGroupsActionApi.php.
|
protected |
Definition at line 212 of file ManageMessageGroupsActionApi.php.
MediaWiki\Extension\Translate\MessageGroupProcessing\ManageMessageGroupsActionApi::isInternal | ( | ) |
Definition at line 331 of file ManageMessageGroupsActionApi.php.
MediaWiki\Extension\Translate\MessageGroupProcessing\ManageMessageGroupsActionApi::needsToken | ( | ) |
Definition at line 335 of file ManageMessageGroupsActionApi.php.