API module for removing one or more references of the same statement.
More...
API module for removing one or more references of the same statement.
- Copyright
- GPL-2.0-or-later
- Author
- Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
-
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()
◆ execute()
Wikibase\Repo\Api\RemoveReferences::execute |
( |
| ) |
|
◆ factory()
◆ getAllowedParams()
Wikibase\Repo\Api\RemoveReferences::getAllowedParams |
( |
| ) |
|
|
protected |
◆ getChangeOps()
Wikibase\Repo\Api\RemoveReferences::getChangeOps |
( |
string |
$guid, |
|
|
array |
$referenceHashes |
|
) |
| |
|
private |
- Parameters
-
string | $guid | |
string[] | $referenceHashes | |
- Returns
- ChangeOp[]
◆ getExamplesMessages()
Wikibase\Repo\Api\RemoveReferences::getExamplesMessages |
( |
| ) |
|
|
protected |
◆ getReferenceHashesFromParams()
Wikibase\Repo\Api\RemoveReferences::getReferenceHashesFromParams |
( |
array |
$params, |
|
|
Statement |
$statement |
|
) |
| |
|
private |
- Parameters
-
array | $params | |
Statement | $statement | |
- Returns
- string[]
◆ isWriteMode()
Wikibase\Repo\Api\RemoveReferences::isWriteMode |
( |
| ) |
|
◆ needsToken()
Wikibase\Repo\Api\RemoveReferences::needsToken |
( |
| ) |
|
- See also
- ApiBase::needsToken
- Returns
- string
◆ validateParameters()
Wikibase\Repo\Api\RemoveReferences::validateParameters |
( |
array |
$params | ) |
|
|
private |
◆ $entitySavingHelper
Wikibase\Repo\Api\RemoveReferences::$entitySavingHelper |
|
private |
◆ $errorReporter
Wikibase\Repo\Api\RemoveReferences::$errorReporter |
|
protected |
◆ $guidParser
Wikibase\Repo\Api\RemoveReferences::$guidParser |
|
private |
◆ $modificationHelper
Wikibase\Repo\Api\RemoveReferences::$modificationHelper |
|
private |
◆ $resultBuilder
Wikibase\Repo\Api\RemoveReferences::$resultBuilder |
|
private |
◆ $sandboxEntityIds
Wikibase\Repo\Api\RemoveReferences::$sandboxEntityIds |
|
private |
◆ $statementChangeOpFactory
Wikibase\Repo\Api\RemoveReferences::$statementChangeOpFactory |
|
private |
The documentation for this class was generated from the following file: