Available from version 1.9.1
Hook to allow extensions to insert additional HTML to a list of book sources e.g. for API-interacting plugins and so on
Define function:
public static function onBookInformation( $isbn, $out ) { ... }
Attach hook:

In extension.json:

	"Hooks": {
		"BookInformation": "MyExtensionHooks::onBookInformation"

For MediaWiki ≤1.25:

$wgHooks['BookInformation'][] = 'MyExtensionHooks::onBookInformation';
Called from:File(s): specials/SpecialBookSources.php

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


  • $isbn - the w:ISBN of the book to be displayed.
  • $out - The OutputPage object.