Wikibase
MediaWiki Wikibase extension
|
A Status representing the result of an ItemMergeInteractor
.
More...
Public Member Functions | |
getFromEntityRevision () | |
The modified source item, after it was merged but before it was potentially redirected. | |
getToEntityRevision () | |
The modified target item, after it was merged. | |
getRedirected () | |
Whether the redirect was successful. | |
Public Member Functions inherited from Wikibase\Repo\TempUserStatus | |
getSavedTempUser () | |
Get the temporary user that was created as part of the action that resulted in this status, or null if no temporary user was created. | |
getContext () | |
Get the context that should be used for any further actions. | |
Static Public Member Functions | |
static | newMerge (EntityRevision $fromEntityRevision, EntityRevision $toEntityRevision, ?UserIdentity $savedTempUser, IContextSource $context, bool $redirected=null) |
Additional Inherited Members | |
Static Protected Member Functions inherited from Wikibase\Repo\TempUserStatus | |
static | newTempUserStatus (array $data, ?UserIdentity $savedTempUser, IContextSource $context) |
A Status representing the result of an ItemMergeInteractor
.
Wikibase\Repo\Interactors\ItemMergeStatus::getFromEntityRevision | ( | ) |
The modified source item, after it was merged but before it was potentially redirected.
Only meaningful if the status is OK
.
Wikibase\Repo\Interactors\ItemMergeStatus::getRedirected | ( | ) |
Whether the redirect was successful.
Only meaningful if the status is OK
.
Wikibase\Repo\Interactors\ItemMergeStatus::getToEntityRevision | ( | ) |
The modified target item, after it was merged.
Only meaningful if the status is OK
.
|
static |