Manual:Hooks/LogPageActionText

From MediaWiki.org
Jump to navigation Jump to search
LogPageActionText
Available from version 1.6.0
Removed in version 1.19.0
Strings used by wfMsg as a header.
Define function:
public static function onLogPageActionText( &$actionText ) { ... }
Attach hook:

In extension.json:

{
	"Hooks": {
		"LogPageActionText": "MyExtensionHooks::onLogPageActionText"
	}
}

For MediaWiki ≤1.25:

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

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

Details[edit]

  • $actionText - Array of strings