Wikibase
MediaWiki Wikibase extension
|
An implementation of EntityLookup based on an EntityRevisionLookup. More...
Public Member Functions | |
__construct (EntityRevisionLookup $lookup, string $lookupMode=LookupConstants::LATEST_FROM_REPLICA) | |
getEntity (EntityId $entityId) | |
hasEntity (EntityId $entityId) | |
Private Attributes | |
$lookup | |
$lookupMode | |
An implementation of EntityLookup based on an EntityRevisionLookup.
This implementation does not resolve redirects.
Wikibase\Lib\Store\RevisionBasedEntityLookup::__construct | ( | EntityRevisionLookup | $lookup, |
string | $lookupMode = LookupConstants::LATEST_FROM_REPLICA |
||
) |
Wikibase\Lib\Store\RevisionBasedEntityLookup::getEntity | ( | EntityId | $entityId | ) |
EntityId | $entityId |
EntityLookupException |
Implements Wikibase\DataModel\Services\Lookup\EntityLookup.
Wikibase\Lib\Store\RevisionBasedEntityLookup::hasEntity | ( | EntityId | $entityId | ) |
EntityId | $entityId |
EntityLookupException |
Implements Wikibase\DataModel\Services\Lookup\EntityLookup.
|
private |
|
private |