Wikibase
MediaWiki Wikibase extension
|
Public Member Functions | |||||||||
__construct (EntityRevisionLookup $entityRevisionLookup) | |||||||||
getRedirectForEntityId (EntityId $entityId, $forUpdate='') | |||||||||
Returns the redirect target associated with the given redirect ID.
| |||||||||
Private Attributes | |
$entityRevisionLookup | |
Additional Inherited Members | |
![]() | |
const | FOR_UPDATE = 'for update' |
Wikibase\Lib\Store\RevisionBasedEntityRedirectTargetLookup::__construct | ( | EntityRevisionLookup | $entityRevisionLookup | ) |
Wikibase\Lib\Store\RevisionBasedEntityRedirectTargetLookup::getRedirectForEntityId | ( | EntityId | $entityId, |
$forUpdate = '' |
|||
) |
Returns the redirect target associated with the given redirect ID.
EntityId | $entityId | |
string | $forUpdate | If EntityRedirectTargetLookup::FOR_UPDATE is given the redirect will be determined from the canonical master database. |
EntityRedirectLookupException |
Implements Wikibase\DataModel\Services\Lookup\EntityRedirectTargetLookup.
|
private |