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

Public Member Functions | |
| onSidebarBeforeOutput ( $skin, &$sidebar) | |
| Use this hook to edit the sidebar just before it is output by skins. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SidebarBeforeOutput" to register handlers implementing this interface.
Definition at line 14 of file SidebarBeforeOutputHook.php.
| MediaWiki\Hook\SidebarBeforeOutputHook::onSidebarBeforeOutput | ( | $skin, | |
| & | $sidebar ) |
Use this hook to edit the sidebar just before it is output by skins.
Warning: This hook is run on each display. You should consider using 'SkinBuildSidebar', which is aggressively cached.
| Skin | $skin | |
| array | &$sidebar | Sidebar content. Modify $sidebar to add or modify sidebar portlets. |
Implemented in MediaWiki\HookContainer\HookRunner.