Manual:Hooks/LogPageValidTypes
This feature was removed from MediaWiki core in version 1.19.0 (after being deprecated in 1.7.0). Please see $wgLogTypes for an alternative way to use this feature. |
LogPageValidTypes | |
---|---|
Available from version 1.5.0 Removed in version 1.19.0 | |
Define function: | public static function onLogPageValidTypes( &$types ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"LogPageValidTypes": "MediaWiki\\Extension\\MyExtension\\Hooks::onLogPageValidTypes"
}
}
|
Called from: | File(s): Setup.php |
Interface: | LogPageValidTypesHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:LogPageValidTypes extensions.
Details
edit- $type: array of strings