MediaWiki master
MediaWiki\Page\Hook\ImageOpenShowImageInlineBeforeHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onImageOpenShowImageInlineBefore ( $imagePage, $output)
 This hook is called just before showing the image on an image page.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ImageOpenShowImageInlineBefore" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file ImageOpenShowImageInlineBeforeHook.php.

Member Function Documentation

◆ onImageOpenShowImageInlineBefore()

MediaWiki\Page\Hook\ImageOpenShowImageInlineBeforeHook::onImageOpenShowImageInlineBefore ( $imagePage,
$output )

This hook is called just before showing the image on an image page.

Since
1.35
Parameters
ImagePage$imagePageImagePage object ($this)
OutputPage$output$wgOut
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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