Adds CSS for the edit links sidebar link or JS to create a new item or to link with an existing one.
More...
|
| addStyleModules (OutputPage $outputPage, Title $title, string $actionName) |
|
| addJsModules (OutputPage $outputPage, Title $title, $actionName, Skin $skin) |
|
| hasEditOrAddLinks (OutputPage $outputPage, Title $title, string $actionName) |
|
| allLinksAreSuppressed (OutputPage $outputPage) |
|
| hasLinkItemWidget (User $user, OutputPage $outputPage, Title $title, string $actionName) |
|
Adds CSS for the edit links sidebar link or JS to create a new item or to link with an existing one.
- Copyright
- GPL-2.0-or-later
- Author
- Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
◆ __construct()
Wikibase\Client\Hooks\BeforePageDisplayHandler::__construct |
( |
bool |
$isMobileView, |
|
|
NamespaceChecker |
$namespaceChecker, |
|
|
bool |
$dataBridgeEnabled |
|
) |
| |
◆ addJsModules()
Wikibase\Client\Hooks\BeforePageDisplayHandler::addJsModules |
( |
OutputPage |
$outputPage, |
|
|
Title |
$title, |
|
|
|
$actionName, |
|
|
Skin |
$skin |
|
) |
| |
|
private |
◆ addModules()
Wikibase\Client\Hooks\BeforePageDisplayHandler::addModules |
( |
OutputPage |
$outputPage, |
|
|
string |
$actionName, |
|
|
Skin |
$skin |
|
) |
| |
◆ addStyleModules()
Wikibase\Client\Hooks\BeforePageDisplayHandler::addStyleModules |
( |
OutputPage |
$outputPage, |
|
|
Title |
$title, |
|
|
string |
$actionName |
|
) |
| |
|
private |
◆ allLinksAreSuppressed()
Wikibase\Client\Hooks\BeforePageDisplayHandler::allLinksAreSuppressed |
( |
OutputPage |
$outputPage | ) |
|
|
private |
◆ factory()
static Wikibase\Client\Hooks\BeforePageDisplayHandler::factory |
( |
bool |
$isMobileView, |
|
|
NamespaceChecker |
$namespaceChecker, |
|
|
SettingsArray |
$clientSettings |
|
) |
| |
|
static |
◆ hasEditOrAddLinks()
Wikibase\Client\Hooks\BeforePageDisplayHandler::hasEditOrAddLinks |
( |
OutputPage |
$outputPage, |
|
|
Title |
$title, |
|
|
string |
$actionName |
|
) |
| |
|
private |
◆ hasLinkItemWidget()
Wikibase\Client\Hooks\BeforePageDisplayHandler::hasLinkItemWidget |
( |
User |
$user, |
|
|
OutputPage |
$outputPage, |
|
|
Title |
$title, |
|
|
string |
$actionName |
|
) |
| |
|
private |
◆ onBeforePageDisplay()
Wikibase\Client\Hooks\BeforePageDisplayHandler::onBeforePageDisplay |
( |
|
$outputPage, |
|
|
|
$skin |
|
) |
| |
- Parameters
-
OutputPage | $outputPage | |
Skin | $skin | |
◆ $dataBridgeEnabled
bool Wikibase\Client\Hooks\BeforePageDisplayHandler::$dataBridgeEnabled |
|
private |
◆ $isMobileView
bool Wikibase\Client\Hooks\BeforePageDisplayHandler::$isMobileView |
|
private |
◆ $namespaceChecker
NamespaceChecker Wikibase\Client\Hooks\BeforePageDisplayHandler::$namespaceChecker |
|
private |
The documentation for this class was generated from the following file: