Provide context in ContributionsToolLinks hook
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 4 Aug 2016 21:48:29 +0000 (14:48 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Thu, 4 Aug 2016 21:48:29 +0000 (14:48 -0700)
commiteeac081f27a0fcc9b5a6c02accb0c840b03859ba
treeb37446af8ff65ffa517ab6a343320a0d39ed03ba
parentd181ba1a9b00e7b7e418b82e0b0def3cc184e48d
Provide context in ContributionsToolLinks hook

Most of the hook functions need context to see what the current user's
permissions are, to generate messages, or the LinkRenderer service to
generate the tool links.

Change-Id: I19fa27c8115ee39dded6cb98f29c35b66b934f8a
docs/hooks.txt
includes/specials/SpecialContributions.php
includes/specials/SpecialDeletedContributions.php