3 namespace MediaWiki\Hook
;
8 * This is a hook handler interface, see docs/Hooks.md.
9 * Use the hook name "SkinBuildSidebar" to register handlers implementing this interface.
11 * @stable to implement
14 interface SkinBuildSidebarHook
{
16 * This hook is called at the end of Skin::buildSidebar().
21 * @param array &$bar Sidebar contents. Modify $bar to add or modify sidebar portlets.
22 * @return bool|void True or no return value to continue or false to abort
24 public function onSkinBuildSidebar( $skin, &$bar );