Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Interactors\ItemRedirectCreationInteractor Class Reference
+ Inheritance diagram for Wikibase\Repo\Interactors\ItemRedirectCreationInteractor:
+ Collaboration diagram for Wikibase\Repo\Interactors\ItemRedirectCreationInteractor:

Protected Member Functions

 assertEntityIsRedirectable (EntityDocument $entity)
 

Additional Inherited Members

- Public Member Functions inherited from Wikibase\Repo\Interactors\EntityRedirectCreationInteractor
 __construct (EntityRevisionLookup $entityRevisionLookup, EntityStore $entityStore, EntityPermissionChecker $permissionChecker, SummaryFormatter $summaryFormatter, EditFilterHookRunner $editFilterHookRunner, EntityRedirectTargetLookup $entityRedirectLookup, EntityTitleStoreLookup $entityTitleLookup, TempUserCreator $tempUserCreator)
 
 createRedirect (EntityId $fromId, EntityId $toId, bool $bot, array $tags, IContextSource $context)
 Create a redirect at $fromId pointing to $toId.
 

Detailed Description

Member Function Documentation

◆ assertEntityIsRedirectable()

Wikibase\Repo\Interactors\ItemRedirectCreationInteractor::assertEntityIsRedirectable ( EntityDocument $entity)
protected
Parameters
EntityDocument$entity
Exceptions
RedirectCreationException

Reimplemented from Wikibase\Repo\Interactors\EntityRedirectCreationInteractor.


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