Manual:Hooks/BookInformation
From MediaWiki.org
| 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: |
public static function onBookInformation( $isbn, $out ) { ... }
|
Attach hook: |
$wgHooks['BookInformation'][] = 'MyExtensionHooks::onBookInformation'; |
| Called from: | SpecialBooksources.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:BookInformation extensions.
Details [edit]
$isbn - the w:ISBN of the book to be displayed.
$out - The OutputPage object.
