MobileFrontend
Mobile optimised frontend for MediaWiki
Loading...
Searching...
No Matches
MobileFrontendSkinHooks Class Reference

Static Public Member Functions

static getTermsLink (MessageLocalizer $localizer)
 Returns HTML of terms of use link or null if it shouldn't be displayed Note: This is called by a hook in the WikimediaMessages extension.
 
static getDesktopViewLink (Skin $skin, MobileContext $context)
 
static getMobileViewLink (Skin $skin, MobileContext $context)
 

Member Function Documentation

◆ getDesktopViewLink()

static MobileFrontendSkinHooks::getDesktopViewLink ( Skin $skin,
MobileContext $context )
static
Parameters
Skin$skin
MobileContext$context
Returns
string representing the desktop link.

◆ getMobileViewLink()

static MobileFrontendSkinHooks::getMobileViewLink ( Skin $skin,
MobileContext $context )
static
Parameters
Skin$skin
MobileContext$context
Returns
string representing the mobile link.

◆ getTermsLink()

static MobileFrontendSkinHooks::getTermsLink ( MessageLocalizer $localizer)
static

Returns HTML of terms of use link or null if it shouldn't be displayed Note: This is called by a hook in the WikimediaMessages extension.

Parameters
MessageLocalizer$localizer
Returns
null|string

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