MediaWiki REL1_37
MediaWiki\Hook\BookInformationHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\BookInformationHook:

Public Member Functions

 onBookInformation ( $isbn, $output)
 This hook is called before information output on Special:Booksources.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file BookInformationHook.php.

Member Function Documentation

◆ onBookInformation()

MediaWiki\Hook\BookInformationHook::onBookInformation (   $isbn,
  $output 
)

This hook is called before information output on Special:Booksources.

Since
1.35
Parameters
string$isbnISBN to show information for
OutputPage$outputOutputPage object in use
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: