Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\DataModel\Services\Lookup\EntityRedirectLookup Interface Reference

Service interface for retrieving information about entity redirects. More...

+ Inheritance diagram for Wikibase\DataModel\Services\Lookup\EntityRedirectLookup:
+ Collaboration diagram for Wikibase\DataModel\Services\Lookup\EntityRedirectLookup:

Public Member Functions

 getRedirectIds (EntityId $targetId)
 Returns the IDs of the entities that redirect to (are aliases of) the given target entity.
 
- Public Member Functions inherited from Wikibase\DataModel\Services\Lookup\EntityRedirectTargetLookup
 getRedirectForEntityId (EntityId $entityId, $forUpdate='')
 Returns the redirect target associated with the given redirect ID.
 

Additional Inherited Members

- Public Attributes inherited from Wikibase\DataModel\Services\Lookup\EntityRedirectTargetLookup
const FOR_UPDATE = 'for update'
 

Detailed Description

Service interface for retrieving information about entity redirects.

Since
1.1
Author
Daniel Kinzler

Member Function Documentation

◆ getRedirectIds()

Wikibase\DataModel\Services\Lookup\EntityRedirectLookup::getRedirectIds ( EntityId $targetId)

Returns the IDs of the entities that redirect to (are aliases of) the given target entity.

Since
2.0
Parameters
EntityId$targetId
Returns
EntityId[]
Exceptions
EntityRedirectLookupException

Implemented in Wikibase\Repo\Store\Sql\WikiPageEntityRedirectLookup.


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