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 of MobileContext
  • $skin: Either an instance of Skin, null, or string