MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onSidebarBeforeOutput ( $skin, &$sidebar) | |
Use this hook to edit the sidebar just before it is output by skins. | |
Stable to implement.
Definition at line 11 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.