|
Wikibase
MediaWiki Wikibase extension
|
A Status representing the result of an EditEntity edit.
More...
Inheritance diagram for Wikibase\Repo\EditEntity\EditEntityStatus:
Collaboration diagram for Wikibase\Repo\EditEntity\EditEntityStatus:Public Member Functions | |
| setErrorFlags (int $errorFlags) | |
| Set the "OK" flag to false and the value to the given error flags. | |
| getRevision () | |
| The revision that the edit resulted in. | |
| getErrorFlags () | |
Bitfield indicating errors; see the XXX_ERROR constants in EditEntity. | |
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 | newEdit (EntityRevision $revision, ?UserIdentity $savedTempUser, IContextSource $context) |
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 EditEntity edit.
@inherits TempUserStatus<array{savedTempUser:?UserIdentity,context:IContextSource,revision:EntityRevision}>
| Wikibase\Repo\EditEntity\EditEntityStatus::getErrorFlags | ( | ) |
Bitfield indicating errors; see the XXX_ERROR constants in EditEntity.
Only meaningful if the status is not OK, and not guaranteed to be present even then.
| Wikibase\Repo\EditEntity\EditEntityStatus::getRevision | ( | ) |
The revision that the edit resulted in.
Only meaningful if the status is OK.
|
static |
| Wikibase\Repo\EditEntity\EditEntityStatus::setErrorFlags | ( | int | $errorFlags | ) |
Set the "OK" flag to false and the value to the given error flags.