inline, as in most browsers
* Pass the user as an argument to 'isValidPassword' hook callbacks; see
docs/hooks.txt for more information
+* Introduce 'UserGetRights' hook; see docs/hooks.txt for more information
== Bugfixes since 1.10 ==
$user: user that watched
$article: article object that was watched
+'UserGetRights': Called in User::getRights()
+$user: User to get rights for
+&$rights: Current rights
+
'UserEffectiveGroups': Called in User::getEffectiveGroups()
$user: User to get groups for
&$groups: Current effective groups
function getRights() {
if ( is_null( $this->mRights ) ) {
$this->mRights = self::getGroupPermissions( $this->getEffectiveGroups() );
+ wfRunHooks( 'UserGetRights', array( $this, &$this->mRights ) );
}
return $this->mRights;
}