MobileFrontend
Mobile optimised frontend for MediaWiki
Loading...
Searching...
No Matches
MobileFrontend\Hooks\HookRunner Class Reference

This is a hook runner class, see docs/Hooks.md in core. More...

+ Inheritance diagram for MobileFrontend\Hooks\HookRunner:
+ Collaboration diagram for MobileFrontend\Hooks\HookRunner:

Public Member Functions

 __construct (HookContainer $hookContainer)
 
 onBeforePageDisplayMobile (OutputPage &$out, Skin &$skin)
 @inheritDoc
 
 onBeforeSpecialMobileDiffDisplay (OutputPage &$output, MobileContext $mobileContext, array $revisions)
 @inheritDoc
 
 onEnterMobileMode (MobileContext $mobileContext)
 @inheritDoc
 
 onGetMobileUrl (?string &$subdomainTokenReplacement, MobileContext $context)
 @inheritDoc
 
 onMobileFrontendBeforeDOM (MobileContext $mobileContext, MobileFormatter $formatter)
 @inheritDoc
 
 onMobileFrontendContentProvider (IContentProvider &$provider, OutputPage $out)
 @inheritDoc
 
 onMobileFrontendFeaturesRegistration (FeaturesManager $featuresManager)
 @inheritDoc
 
 onMobileSpecialPageStyles (string $id, OutputPage $out)
 @inheritDoc
 
 onRequestContextCreateSkinMobile (MobileContext $mobileContext, Skin $skin)
 @inheritDoc
 
 onSpecialMobileEditWatchlist__images (IContextSource $context, array &$watchlist, array &$images)
 @inheritDoc
 

Detailed Description

This is a hook runner class, see docs/Hooks.md in core.

Member Function Documentation

◆ onBeforePageDisplayMobile()

MobileFrontend\Hooks\HookRunner::onBeforePageDisplayMobile ( OutputPage & $out,
Skin & $skin )

◆ onBeforeSpecialMobileDiffDisplay()

MobileFrontend\Hooks\HookRunner::onBeforeSpecialMobileDiffDisplay ( OutputPage & $output,
MobileContext $mobileContext,
array $revisions )

◆ onEnterMobileMode()

MobileFrontend\Hooks\HookRunner::onEnterMobileMode ( MobileContext $mobileContext)

◆ onGetMobileUrl()

MobileFrontend\Hooks\HookRunner::onGetMobileUrl ( ?string & $subdomainTokenReplacement,
MobileContext $context )

@inheritDoc

Implements MobileFrontend\Hooks\GetMobileUrlHook.

◆ onMobileFrontendBeforeDOM()

MobileFrontend\Hooks\HookRunner::onMobileFrontendBeforeDOM ( MobileContext $mobileContext,
MobileFormatter $formatter )

◆ onMobileFrontendContentProvider()

MobileFrontend\Hooks\HookRunner::onMobileFrontendContentProvider ( IContentProvider & $provider,
OutputPage $out )

◆ onMobileFrontendFeaturesRegistration()

MobileFrontend\Hooks\HookRunner::onMobileFrontendFeaturesRegistration ( FeaturesManager $featuresManager)

◆ onMobileSpecialPageStyles()

MobileFrontend\Hooks\HookRunner::onMobileSpecialPageStyles ( string $id,
OutputPage $out )

◆ onRequestContextCreateSkinMobile()

MobileFrontend\Hooks\HookRunner::onRequestContextCreateSkinMobile ( MobileContext $mobileContext,
Skin $skin )

◆ onSpecialMobileEditWatchlist__images()

MobileFrontend\Hooks\HookRunner::onSpecialMobileEditWatchlist__images ( IContextSource $context,
array & $watchlist,
array & $images )

The documentation for this class was generated from the following file: