Manual:Hooks/LogPageValidTypes

From MediaWiki.org
Jump to: navigation, search
LogPageValidTypes
Available from version 1.5.0
Removed in version 1.19.0


*Define function:
function fnMyHook( &$types ) { ... }

*Attach hook:
$wgHooks['LogPageValidTypes'][] = 'MyExtensionHooks::someExample';
Called from: Setup.php

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


[edit] Details

  • $type: array of strings

[edit] See also

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox