◆ __construct()
◆ factory()
◆ formatAspects()
Wikibase\Client\Hooks\InfoActionHookHandler::formatAspects |
( |
array | $aspects, |
|
|
IContextSource | $context ) |
|
private |
- Parameters
-
array[] | $aspects | |
IContextSource | $context | |
- Returns
- string
◆ formatEntityUsage()
Wikibase\Client\Hooks\InfoActionHookHandler::formatEntityUsage |
( |
array | $usages, |
|
|
IContextSource | $context ) |
|
private |
- Parameters
-
EntityUsage[] | $usages | |
IContextSource | $context | |
- Returns
- string[]
◆ getDescriptionInfoRow()
Wikibase\Client\Hooks\InfoActionHookHandler::getDescriptionInfoRow |
( |
| $context, |
|
|
| $description, |
|
|
| $source ) |
|
private |
- Parameters
-
IContextSource | $context | |
string | $description | |
string | $source | |
- Returns
- string[]
◆ getItemPageInfo()
Wikibase\Client\Hooks\InfoActionHookHandler::getItemPageInfo |
( |
IContextSource | $context, |
|
|
ItemId | $itemId ) |
|
private |
Creating a Repo link with Item ID as anchor text.
- Parameters
-
IContextSource | $context | |
ItemId | $itemId | |
- Returns
- string[]
◆ getPageInfoRow()
Wikibase\Client\Hooks\InfoActionHookHandler::getPageInfoRow |
( |
IContextSource | $context, |
|
|
Title | $title ) |
|
private |
- Parameters
-
IContextSource | $context | |
Title | $title | |
- Returns
- string[]
◆ getUnconnectedItemPageInfo()
Wikibase\Client\Hooks\InfoActionHookHandler::getUnconnectedItemPageInfo |
( |
IContextSource | $context | ) |
|
|
private |
- Parameters
-
- Returns
- string[]
◆ onInfoAction()
Wikibase\Client\Hooks\InfoActionHookHandler::onInfoAction |
( |
| $context, |
|
|
& | $pageInfo ) |
Adds the Entity ID of the corresponding Wikidata item in action=info.
- Parameters
-
IContextSource | $context | |
array[] | &$pageInfo | |
◆ $descriptionLookup
Wikibase\Client\Hooks\InfoActionHookHandler::$descriptionLookup |
|
private |
◆ $labelDescriptionLookupFactory
Wikibase\Client\Hooks\InfoActionHookHandler::$labelDescriptionLookupFactory |
|
private |
◆ $namespaceChecker
Wikibase\Client\Hooks\InfoActionHookHandler::$namespaceChecker |
|
private |
◆ $repoLinker
Wikibase\Client\Hooks\InfoActionHookHandler::$repoLinker |
|
private |
◆ $siteId
Wikibase\Client\Hooks\InfoActionHookHandler::$siteId |
|
private |
◆ $siteLinkLookup
Wikibase\Client\Hooks\InfoActionHookHandler::$siteLinkLookup |
|
private |
◆ $usageLookup
Wikibase\Client\Hooks\InfoActionHookHandler::$usageLookup |
|
private |
The documentation for this class was generated from the following file: