Manual:Hooks/ContributionsLineEnding
From MediaWiki.org
| ContributionsLineEnding | |
|---|---|
| Available from version 1.13.0 Called before a contributions HTML line is finished |
|
*Define function: |
function fnMyHook( $page, $ret, $row ) { ... }
|
*Attach hook: |
$wgHooks['ContributionsLineEnding'][] = 'MyExtensionHooks::someExample'; |
| Called from: | SpecialContributions.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:ContributionsLineEnding extensions.
[edit] Details
- $page: SpecialPage object for contributions
- $ret: the HTML line
- $row: the DB row for this line
