- Copyright
- GPL-2.0-or-later
◆ __construct()
◆ createSchema()
Wikibase\Client\Hooks\SkinAfterBottomScriptsHandler::createSchema |
( |
Title |
$title, |
|
|
|
$revisionTimestamp, |
|
|
|
$entityConceptUri, |
|
|
File |
$imageFile = null , |
|
|
|
$description = null |
|
) |
| |
- Parameters
-
Title | $title | |
string | null | $revisionTimestamp | |
string | $entityConceptUri | |
File | null | $imageFile | |
string | null | $description | |
- Returns
- array
◆ createSchemaElement()
Wikibase\Client\Hooks\SkinAfterBottomScriptsHandler::createSchemaElement |
( |
Title |
$title, |
|
|
|
$revisionTimestamp, |
|
|
EntityId |
$entityId |
|
) |
| |
- Parameters
-
Title | $title | |
string | null | $revisionTimestamp | |
EntityId | $entityId | |
- Returns
- string
◆ getDescription()
Wikibase\Client\Hooks\SkinAfterBottomScriptsHandler::getDescription |
( |
EntityDocument |
$entity = null | ) |
|
|
private |
- Parameters
-
EntityDocument | null | $entity | |
- Returns
- string
◆ lookupEntityDocument()
Wikibase\Client\Hooks\SkinAfterBottomScriptsHandler::lookupEntityDocument |
( |
EntityId |
$entityId | ) |
|
|
private |
- Parameters
-
- Returns
- EntityDocument|null
◆ queryPageImage()
Wikibase\Client\Hooks\SkinAfterBottomScriptsHandler::queryPageImage |
( |
Title |
$title | ) |
|
|
private |
If available, query the canonical page image injected into the og:image meta tag.
It's important that the schema image match the page meta image since the schema describes the page.
- Parameters
-
- Returns
- File|null
◆ $client
Wikibase\Client\Hooks\SkinAfterBottomScriptsHandler::$client |
|
private |
◆ $repoLinker
Wikibase\Client\Hooks\SkinAfterBottomScriptsHandler::$repoLinker |
|
private |
The documentation for this class was generated from the following file: