Wikibase
MediaWiki Wikibase extension
|
Class for reference removal change operation. More...
Public Member Functions | |
__construct ( $statementGuid, $referenceHash) | |
Constructs a new reference removal change operation. | |
apply (EntityDocument $entity, Summary $summary=null) | |
validate (EntityDocument $entity) | |
Public Member Functions inherited from Wikibase\Repo\ChangeOp\ChangeOpBase | |
getActions () | |
Protected Member Functions | |
removeReference (ReferenceList $references, Summary $summary=null) | |
getSnakSummaryArgs (Snak $snak) | |
Protected Member Functions inherited from Wikibase\Repo\ChangeOp\ChangeOpBase | |
updateSummary (?Summary $summary, $action, $language='', $args='') | |
Private Attributes | |
$statementGuid | |
$referenceHash | |
Class for reference removal change operation.
Wikibase\Repo\ChangeOp\ChangeOpReferenceRemove::__construct | ( | $statementGuid, | |
$referenceHash | |||
) |
Constructs a new reference removal change operation.
string | $statementGuid | |
string | $referenceHash |
InvalidArgumentException |
Wikibase\Repo\ChangeOp\ChangeOpReferenceRemove::apply | ( | EntityDocument | $entity, |
Summary | $summary = null |
||
) |
EntityDocument | $entity | |
Summary | null | $summary |
InvalidArgumentException | |
ChangeOpException |
Implements Wikibase\Repo\ChangeOp\ChangeOp.
|
protected |
Snak | $snak |
|
protected |
ReferenceList | $references | |
Summary | null | $summary |
ChangeOpException |
Wikibase\Repo\ChangeOp\ChangeOpReferenceRemove::validate | ( | EntityDocument | $entity | ) |
EntityDocument | $entity |
Implements Wikibase\Repo\ChangeOp\ChangeOp.
|
private |
|
private |