Jump to content

Manual:Hooks/LogPageLogHeader

From mediawiki.org
LogPageLogHeader
Available from version 1.5.0
Removed in version 1.19.0

Define function:
public static function onLogPageLogHeader( &$headerText ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"LogPageLogHeader": "MediaWiki\\Extension\\MyExtension\\Hooks::onLogPageLogHeader"
	}
}
Called from: File(s): Setup.php
Interface: LogPageLogHeaderHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:LogPageLogHeader extensions.


Details

[edit]
  • $headerText: array of strings

See also

[edit]