Manual:Hooks/LogPageActionText
This feature was removed from MediaWiki core in version 1.19.0 (after being deprecated in 1.7.0). Please see $wgLogActions for an alternative way to use this feature. |
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": "MediaWiki\\Extension\\MyExtension\\Hooks::onLogPageActionText"
}
}
|
Called from: | File(s): Setup.php |
Interface: | LogPageActionTextHook.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