MediaWiki  1.30.0
VectorHooks Class Reference

Hooks.php. More...

Static Public Member Functions

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

Detailed Description

Hooks.php.

Hook handlers for Vector skin.

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

Definition at line 13 of file Hooks.php.

Member Function Documentation

◆ onBeforePageDisplayMobile()

static VectorHooks::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 23 of file Hooks.php.


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