Wikibase
MediaWiki Wikibase extension
|
API module to set the terms for a Wikibase entity. More...
Protected Member Functions | |
createSummary (array $params) | |
Creates a Summary object based on the given API call parameters. | |
getAllowedParams () | |
Protected Member Functions inherited from Wikibase\Repo\Api\ModifyEntity | |
getTitleLookup () | |
getResultBuilder () | |
modifyEntity (EntityDocument &$entity, ChangeOp $changeOp, array $preparedParameters) | |
Actually modify the entity. | |
applyChangeOp (ChangeOp $changeOp, EntityDocument $entity, Summary $summary=null) | |
Applies the given ChangeOp to the given Entity. | |
prepareParameters (array $params) | |
validateEntitySpecificParameters (array $preparedParameters, EntityDocument $entity, $baseRevId) | |
validateParameters (array $params) | |
Make sure the required parameters are provided and that they are valid. | |
getChangeOp (array $preparedParameters, EntityDocument $entity) | |
Additional Inherited Members | |
Public Member Functions inherited from Wikibase\Repo\Api\ModifyEntity | |
__construct (ApiMain $mainModule, $moduleName, bool $federatedPropertiesEnabled, $modulePrefix='') | |
setServices (SiteLinkTargetProvider $siteLinkTargetProvider) | |
execute () | |
Protected Attributes inherited from Wikibase\Repo\Api\ModifyEntity | |
$stringNormalizer | |
$siteLinkTargetProvider | |
$siteLinkGroups | |
$badgeItems | |
$errorReporter | |
$enabledEntityTypes | |
API module to set the terms for a Wikibase entity.
|
protected |
Creates a Summary object based on the given API call parameters.
The Summary will be initializes with the appropriate action name and target language. It will not have any summary arguments set.
array | $params |
Reimplemented from Wikibase\Repo\Api\ModifyEntity.
|
protected |
Reimplemented from Wikibase\Repo\Api\ModifyEntity.
Reimplemented in Wikibase\Repo\Api\SetDescription, and Wikibase\Repo\Api\SetLabel.