Wikibase
MediaWiki Wikibase extension
|
Exception indicating that an attempt was made to access a redirected EntityId without resolving the redirect first. More...
Public Member Functions | |
__construct (EntityId $entityId, EntityId $redirectTargetId, $message=null, ?Exception $previous=null) | |
getRedirectTargetId () | |
Returns the ID of the entity referenced by the redirect. | |
Public Member Functions inherited from Wikibase\DataModel\Services\Lookup\EntityLookupException | |
__construct (EntityId $entityId, $message=null, ?Exception $previous=null) | |
getEntityId () | |
Private Attributes | |
$redirectTargetId | |
Exception indicating that an attempt was made to access a redirected EntityId without resolving the redirect first.
Wikibase\DataModel\Services\Lookup\UnresolvedEntityRedirectException::__construct | ( | EntityId | $entityId, |
EntityId | $redirectTargetId, | ||
$message = null, | |||
?Exception | $previous = null ) |
EntityId | $entityId | |
EntityId | $redirectTargetId | The ID of the target Entity of the redirect |
string | null | $message | Added in 3.1 |
Exception | null | $previous | Added in 3.1 |
Wikibase\DataModel\Services\Lookup\UnresolvedEntityRedirectException::getRedirectTargetId | ( | ) |
Returns the ID of the entity referenced by the redirect.
|
private |