MediaWiki
master
BeforePageDisplayHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Output\Hook
;
4
5
use
MediaWiki\Output\OutputPage
;
6
use
Skin
;
7
15
interface
BeforePageDisplayHook
{
25
public
function
onBeforePageDisplay
( $out, $skin ): void;
26
}
27
29
class_alias( BeforePageDisplayHook::class,
'MediaWiki\Hook\BeforePageDisplayHook'
);
MediaWiki\Output\OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:96
Skin
The base class for all skins.
Definition
Skin.php:64
MediaWiki\Output\Hook\BeforePageDisplayHook
This is a hook handler interface, see docs/Hooks.md.
Definition
BeforePageDisplayHook.php:15
MediaWiki\Output\Hook\BeforePageDisplayHook\onBeforePageDisplay
onBeforePageDisplay( $out, $skin)
This hook is called prior to outputting a page.
MediaWiki\Output\Hook
Definition
AfterBuildFeedLinksHook.php:3
includes
Output
Hook
BeforePageDisplayHook.php
Generated on Tue Feb 11 2025 17:24:40 for MediaWiki by
1.10.0