Manual:Hooks/LogPageLogName

From MediaWiki.org
Jump to navigation Jump to search
LogPageLogName
Available from version 1.5.0
Removed in version 1.19.0

Define function:
public static function onLogPageLogName( &$typeText ) { ... }
Attach hook:

In extension.json:

{
	"Hooks": {
		"LogPageLogName": "MyExtensionHooks::onLogPageLogName"
	}
}

For MediaWiki ≤1.25:

$wgHooks['LogPageLogName'][] = 'MyExtensionHooks::onLogPageLogName';
Called from:File(s): Setup.php

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

Details[edit]

  • $typeText: array of strings

See also[edit]