|
Wikibase
MediaWiki Wikibase extension
|
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' |
Service interface for retrieving information about entity redirects.
| Wikibase\DataModel\Services\Lookup\EntityRedirectLookup::getRedirectIds | ( | EntityId | $targetId | ) |
Returns the IDs of the entities that redirect to (are aliases of) the given target entity.
| EntityId | $targetId |
| EntityRedirectLookupException |
Implemented in Wikibase\Repo\Store\Sql\WikiPageEntityRedirectLookup.