Extension:MobileFrontend/Hooks/RequestContextCreateSkinMobile
RequestContextCreateSkinMobile | |
---|---|
Available from version 1.29.0 (Gerrit change 347786) This hook runs at the end of MobileFrontend's call to the Manual:Hooks/RequestContextCreateSkin hook |
|
Define function: | public static function onRequestContextCreateSkinMobile( MobileContext $mobileContext, Skin $skin ) { ... }
|
Attach hook: | $wgHooks['RequestContextCreateSkinMobile'][] = 'MyExtensionHooks::onRequestContextCreateSkinMobile';
|
Called from: | File(s): MobileFrontend / includes/MobileFrontendHooks.php Function(s): onRequestContextCreateSkin |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:RequestContextCreateSkinMobile extensions.
Parameters
edit$mobileContext
: An instance ofMobileContext
$skin
: Either an instance ofSkin
,null
, orstring