MediaWiki REL1_35
MediaWiki\Page\Hook\ImageOpenShowImageInlineBeforeHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Page\Hook\ImageOpenShowImageInlineBeforeHook:

Public Member Functions

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

Detailed Description

Stable to implement.

Definition at line 12 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: