Manual:Hooks/BookInformation

From MediaWiki.org
Jump to: navigation, search
BookInformation
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:
function fnMyHook( $isbn, $out ) { ... }

*Attach hook:
$wgHooks['BookInformation'][] = 'MyExtensionHooks::someExample';
Called from: SpecialBooksources.php

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


[edit] Details

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

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox