API module for the language attributes for a Wikibase entity.
More...
API module for the language attributes for a Wikibase entity.
Requires API write mode to be enabled.
- Copyright
- GPL-2.0-or-later
- Author
- Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
-
John Erling Blad < jebla.nosp@m.d@gm.nosp@m.ail.c.nosp@m.om >
-
Tobias Gritschacher < tobia.nosp@m.s.gr.nosp@m.itsch.nosp@m.ache.nosp@m.r@wik.nosp@m.imed.nosp@m.ia.de >
◆ __construct()
Wikibase\Repo\Api\SetDescription::__construct |
( |
ApiMain | $mainModule, |
|
|
string | $moduleName, |
|
|
FingerprintChangeOpFactory | $termChangeOpFactory, |
|
|
bool | $federatedPropertiesEnabled, |
|
|
EntityFactory | $entityFactory, |
|
|
array | $sandboxEntityIds ) |
◆ factory()
◆ getAllowedParams()
Wikibase\Repo\Api\SetDescription::getAllowedParams |
( |
| ) |
|
|
protected |
◆ getChangeOp()
Wikibase\Repo\Api\SetDescription::getChangeOp |
( |
array | $preparedParameters, |
|
|
EntityDocument | $entity ) |
|
protected |
◆ getEntityTypesWithDescriptions()
Wikibase\Repo\Api\SetDescription::getEntityTypesWithDescriptions |
( |
| ) |
|
|
protected |
◆ getExamplesMessages()
Wikibase\Repo\Api\SetDescription::getExamplesMessages |
( |
| ) |
|
|
protected |
◆ isWriteMode()
Wikibase\Repo\Api\SetDescription::isWriteMode |
( |
| ) |
|
- See also
- ApiBase::isWriteMode()
- Returns
- bool Always true.
◆ modifyEntity()
Wikibase\Repo\Api\SetDescription::modifyEntity |
( |
EntityDocument | $entity, |
|
|
ChangeOp | $changeOp, |
|
|
array | $preparedParameters ) |
|
protected |
Actually modify the entity.
- Parameters
-
EntityDocument | $entity | |
ChangeOp | $changeOp | |
array | $preparedParameters | |
- Returns
- Summary|null a summary of the modification, or null to indicate failure.
Reimplemented from Wikibase\Repo\Api\ModifyEntity.
◆ needsToken()
Wikibase\Repo\Api\SetDescription::needsToken |
( |
| ) |
|
- See also
- ApiBase::needsToken
- Returns
- string
◆ $entityFactory
Wikibase\Repo\Api\SetDescription::$entityFactory |
|
private |
◆ $sandboxEntityIds
Wikibase\Repo\Api\SetDescription::$sandboxEntityIds |
|
private |
◆ $termChangeOpFactory
Wikibase\Repo\Api\SetDescription::$termChangeOpFactory |
|
private |
The documentation for this class was generated from the following file: