Definition at line 24 of file MultimediaViewerHooks.php.
◆ getModules()
static MultimediaViewerHooks::getModules |
( |
OutputPage |
$out | ) |
|
|
staticprotected |
◆ onBeforePageDisplay()
static MultimediaViewerHooks::onBeforePageDisplay |
( |
OutputPage |
$out, |
|
|
|
$skin |
|
) |
| |
|
static |
◆ onCategoryPageView()
static MultimediaViewerHooks::onCategoryPageView |
( |
CategoryPage |
$catPage | ) |
|
|
static |
◆ onGetPreferences()
static MultimediaViewerHooks::onGetPreferences |
( |
|
$user, |
|
|
& |
$prefs |
|
) |
| |
|
static |
◆ onMakeGlobalVariablesScript()
static MultimediaViewerHooks::onMakeGlobalVariablesScript |
( |
array & |
$vars, |
|
|
OutputPage |
$out |
|
) |
| |
|
static |
◆ onResourceLoaderGetConfigVars()
static MultimediaViewerHooks::onResourceLoaderGetConfigVars |
( |
array & |
$vars | ) |
|
|
static |
- See also
- https://www.mediawiki.org/wiki/Manual:Hooks/ResourceLoaderGetConfigVars Export variables used in both PHP and JS to keep DRY
- Parameters
-
Definition at line 137 of file MultimediaViewerHooks.php.
References $discussionLink, $helpLink, $infoLink, $wgMediaViewerActionLoggingSamplingFactorMap, $wgMediaViewerAttributionLoggingSamplingFactor, $wgMediaViewerDimensionLoggingSamplingFactor, $wgMediaViewerDurationLoggingLoggedinSamplingFactor, $wgMediaViewerDurationLoggingSamplingFactor, $wgMediaViewerImageQueryParameter, $wgMediaViewerNetworkPerformanceSamplingFactor, $wgMediaViewerRecordVirtualViewBeaconURI, and $wgMediaViewerUseThumbnailGuessing.
◆ onThumbnailBeforeProduceHTML()
static MultimediaViewerHooks::onThumbnailBeforeProduceHTML |
( |
ThumbnailImage |
$thumbnail, |
|
|
array & |
$attribs, |
|
|
& |
$linkAttribs |
|
) |
| |
|
static |
◆ onUserGetDefaultOptions()
static MultimediaViewerHooks::onUserGetDefaultOptions |
( |
array & |
$defaultOptions | ) |
|
|
static |
◆ shouldHandleClicks()
static MultimediaViewerHooks::shouldHandleClicks |
( |
User |
$user | ) |
|
|
staticprotected |
◆ $discussionLink
MultimediaViewerHooks::$discussionLink |
|
staticprotected |
◆ $helpLink
MultimediaViewerHooks::$helpLink |
|
staticprotected |
◆ $infoLink
MultimediaViewerHooks::$infoLink |
|
staticprotected |
The documentation for this class was generated from the following file: