MediaWiki REL1_35
|
This class checks if user can get extra rights because of conditions specified in $wgAutopromote. More...
Static Public Member Functions | |
static | getAutopromoteGroups (User $user) |
Get the groups for the given user based on $wgAutopromote. | |
static | getAutopromoteOnceGroups (User $user, $event) |
Get the groups for the given user based on the given criteria. | |
This class checks if user can get extra rights because of conditions specified in $wgAutopromote.
Definition at line 31 of file Autopromote.php.
|
static |
Get the groups for the given user based on $wgAutopromote.
User | $user | The user to get the groups for |
Definition at line 40 of file Autopromote.php.
Referenced by UserrightsPage\showEditUserGroupsForm().
|
static |
Get the groups for the given user based on the given criteria.
Does not return groups the user already belongs to or has once belonged.
User | $user | The user to get the groups for |
string | $event | Key in $wgAutopromoteOnce (each one has groups/criteria) |
Definition at line 61 of file Autopromote.php.