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, int $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, string $moduleName, bool $federatedPropertiesEnabled, string $modulePrefix='') | |
setServices (SiteLinkGlobalIdentifiersProvider $siteLinkGlobalIdentifiersProvider) | |
execute () | |
isFreshIdAssigned () | |
Return whether a fresh id is assigned or not. | |
Protected Attributes inherited from Wikibase\Repo\Api\ModifyEntity | |
$stringNormalizer | |
$siteLinkGlobalIdentifiersProvider | |
$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.