- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Client\Hooks\SkinAfterBottomScriptsHandler::__construct |
( |
string | $langCode, |
|
|
RepoLinker | $repoLinker, |
|
|
TermLookup | $termLookup, |
|
|
RevisionLookup | $revisionLookup ) |
◆ createSchema()
Wikibase\Client\Hooks\SkinAfterBottomScriptsHandler::createSchema |
( |
Title | $title, |
|
|
?string | $revisionTimestamp, |
|
|
string | $entityConceptUri, |
|
|
?File | $imageFile, |
|
|
?string | $description ) |
◆ 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 |
( |
EntityId | $entityId | ) |
|
|
private |
◆ 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
◆ $langCode
Wikibase\Client\Hooks\SkinAfterBottomScriptsHandler::$langCode |
|
private |
◆ $repoLinker
Wikibase\Client\Hooks\SkinAfterBottomScriptsHandler::$repoLinker |
|
private |
◆ $revisionLookup
Wikibase\Client\Hooks\SkinAfterBottomScriptsHandler::$revisionLookup |
|
private |
◆ $termLookup
Wikibase\Client\Hooks\SkinAfterBottomScriptsHandler::$termLookup |
|
private |
The documentation for this class was generated from the following file: