Manual:Hooks/SpecialContributionsBeforeMainOutput
From MediaWiki.org
| SpecialContributionsBeforeMainOutput | |
|---|---|
| Available from version 1.5.0 Before the form on Special:Contributions |
|
*Define function: |
function fnMyHook( $id ) { ... }
|
*Attach hook: |
$wgHooks['SpecialContributionsBeforeMainOutput'][] = 'MyExtensionHooks::someExample'; |
| Called from: | SpecialContributions.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:SpecialContributionsBeforeMainOutput extensions.
[edit] Details
- $id: User identifier
Note: Since 1.16, the return value is checked, returning false will stop normal output (bug 22051).