Extension:MobileFrontend/Hooks/BeforeSpecialMobileDiffDisplay

From MediaWiki.org
Jump to navigation Jump to search
BeforeSpecialMobileDiffDisplay
Available from version 1.22.0 (Gerrit change 86061)

Define function:
public static function onBeforeSpecialMobileDiffDisplay( &$output, $mobileContext, $revisions ) { ... }
Attach hook:
$wgHooks['BeforeSpecialMobileDiffDisplay'][] = 'MyExtensionHooks::onBeforeSpecialMobileDiffDisplay';
Called from:File(s): MobileFrontend / includes/specials/SpecialMobileDiff.php
Function(s): executeWhenAvailable

For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:BeforeSpecialMobileDiffDisplay extensions.

Details[edit]

  • &$output:
  • $mobileContext:
  • $revisions: