Wikibase
MediaWiki Wikibase extension
|
Public Member Functions | |
__construct (string $baseConceptUri, EntityIdLookup $idLookup, EntityLookup $entityLookup, EntityNamespaceLookup $nsLookup, LoggerInterface $logger) | |
buildConceptUriLink (Skin $skin) | |
Build concept URI link for the sidebar toolbox. | |
Private Member Functions | |
getValidEntityId (?Title $title) | |
Get a valid entity id, based on a series of checks. | |
Private Attributes | |
$baseConceptUri | |
$idLookup | |
$entityLookup | |
$nsLookup | |
$logger | |
If in appropriate namespace and page, create a Concept URI link for later addition to the sidebar.
Wikibase\Repo\Hooks\SidebarBeforeOutputHookHandler::__construct | ( | string | $baseConceptUri, |
EntityIdLookup | $idLookup, | ||
EntityLookup | $entityLookup, | ||
EntityNamespaceLookup | $nsLookup, | ||
LoggerInterface | $logger | ||
) |
Wikibase\Repo\Hooks\SidebarBeforeOutputHookHandler::buildConceptUriLink | ( | Skin | $skin | ) |
Build concept URI link for the sidebar toolbox.
Skin | $skin |
|
private |
Get a valid entity id, based on a series of checks.
Title | null | $title |
|
private |
|
private |
|
private |
|
private |
|
private |