Add the performer to the UserRightsChanged hook
authorKunal Mehta <legoktm@gmail.com>
Tue, 22 Sep 2015 17:58:20 +0000 (10:58 -0700)
committerKunal Mehta <legoktm@gmail.com>
Tue, 22 Sep 2015 17:58:20 +0000 (10:58 -0700)
commitbdf3f3e2d75c3b9a4ec1e62c1cf51821b9077bea
treeb33468146e0318df7279e3d7c203bfff442d29aa
parent5b61b25d81c33b1cb624e737fc83ceb3f59f02b9
Add the performer to the UserRightsChanged hook

This allows extensions (e.g. Echo) to detect who made the change without
relying upon $wgUser. It also allows for differentiation between
autopromotion entries which will pass in `false` as the performer.

Change-Id: Idebd78b54dcea1bdc84c83f402e87b240ab4ade1
docs/hooks.txt
includes/User.php
includes/specials/SpecialUserrights.php