Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Interactors\EntityRedirectCreationStatus Class Reference

A Status representing the result of an EntityRedirectCreationInteractor. More...

+ Inheritance diagram for Wikibase\Repo\Interactors\EntityRedirectCreationStatus:
+ Collaboration diagram for Wikibase\Repo\Interactors\EntityRedirectCreationStatus:

Public Member Functions

 getRedirect ()
 The redirect that the edit resulted in.
 
- 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 newRedirect (EntityRedirect $entityRedirect, ?UserIdentity $savedTempUser, IContextSource $context)
 

Additional Inherited Members

- Static Protected Member Functions inherited from Wikibase\Repo\TempUserStatus
static newTempUserStatus (array $data, ?UserIdentity $savedTempUser, IContextSource $context)
 

Detailed Description

A Status representing the result of an EntityRedirectCreationInteractor.

Member Function Documentation

◆ getRedirect()

Wikibase\Repo\Interactors\EntityRedirectCreationStatus::getRedirect ( )

The redirect that the edit resulted in.

Only meaningful if the status is OK.

◆ newRedirect()

static Wikibase\Repo\Interactors\EntityRedirectCreationStatus::newRedirect ( EntityRedirect $entityRedirect,
?UserIdentity $savedTempUser,
IContextSource $context )
static

The documentation for this class was generated from the following file: