MediaWiki  master
BeforePageDisplayHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use OutputPage;
6 use Skin;
7 
22  public function onBeforePageDisplay( $out, $skin ) : void;
23 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition: OutputPage.php:47
MediaWiki\Hook\BeforePageDisplayHook
Stable to implement.
Definition: BeforePageDisplayHook.php:12
MediaWiki\Hook\BeforePageDisplayHook\onBeforePageDisplay
onBeforePageDisplay( $out, $skin)
This hook is called prior to outputting a page.
Skin
The main skin class which provides methods and properties for all other skins.
Definition: Skin.php:42