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