MediaWiki  master
MediaWiki\Hook\SkinTemplateOutputPageBeforeExecHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\SkinTemplateOutputPageBeforeExecHook:

Public Member Functions

 onSkinTemplateOutputPageBeforeExec ( $sktemplate, $tpl)
 This hook is called before SkinTemplate::outputPage() starts page output. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SkinTemplateOutputPageBeforeExec" to register handlers implementing this interface.

Deprecated:
since 1.35. See https://www.mediawiki.org/wiki/Manual:Hooks/SkinTemplateOutputPageBeforeExec for migration notes.
See also
https://phabricator.wikimedia.org/T60137 for details on the deprecation

Definition at line 19 of file SkinTemplateOutputPageBeforeExecHook.php.

Member Function Documentation

◆ onSkinTemplateOutputPageBeforeExec()

MediaWiki\Hook\SkinTemplateOutputPageBeforeExecHook::onSkinTemplateOutputPageBeforeExec (   $sktemplate,
  $tpl 
)

This hook is called before SkinTemplate::outputPage() starts page output.

Since
1.35
Parameters
SkinTemplate$sktemplate
QuickTemplate$tplQuickTemplate engine object
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: