Manual:Hooks/SpecialContributionsBeforeMainOutput

Details

 * $id: User id number, only provided for backwards-compatability
 * $user: User object contributions are being fetched for (since 1.23, added in 103090)
 * $sp: SpecialPage instance, provides context (since 1.23, added in 103090)

Since 1.16, the return value is checked, returning false will stop normal output (bug 22051).