MediaWiki  1.34.0
Vector\Hooks Class Reference

Hook handlers for Vector skin. More...

Static Public Member Functions

static onBeforePageDisplayMobile (OutputPage $out, $sk)
 BeforePageDisplayMobile hook handler. More...
 

Detailed Description

Hook handlers for Vector skin.

Hook handler method names should be in the form of: on<HookName>()

Definition at line 15 of file Hooks.php.

Member Function Documentation

◆ onBeforePageDisplayMobile()

static Vector\Hooks::onBeforePageDisplayMobile ( OutputPage  $out,
  $sk 
)
static

BeforePageDisplayMobile hook handler.

Make Vector responsive when operating in mobile mode (useformat=mobile)

See also
https://www.mediawiki.org/wiki/Extension:MobileFrontend/BeforePageDisplayMobile
Parameters
OutputPage$out
SkinTemplate$sk

Definition at line 25 of file Hooks.php.


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