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, |
|
|
|
$moduleName, |
|
|
FingerprintChangeOpFactory |
$termChangeOpFactory, |
|
|
bool |
$federatedPropertiesEnabled |
|
) |
| |
◆ 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 |
- See also
- ModifyEntity::modifyEntity
- Parameters
-
EntityDocument | &$entity | |
ChangeOp | $changeOp | |
array | $preparedParameters | |
- Returns
- Summary
Reimplemented from Wikibase\Repo\Api\ModifyEntity.
◆ needsToken()
Wikibase\Repo\Api\SetDescription::needsToken |
( |
| ) |
|
- See also
- ApiBase::needsToken
- Returns
- string
◆ $termChangeOpFactory
Wikibase\Repo\Api\SetDescription::$termChangeOpFactory |
|
private |
The documentation for this class was generated from the following file: