From: Alexandre Emsenhuber Date: Thu, 7 Aug 2008 16:12:25 +0000 (+0000) Subject: Document UserGetReservedNames hook X-Git-Tag: 1.31.0-rc.0~46048 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=2070b1dba85911158018f69827d2687347851727;p=lhc%2Fweb%2Fwiklou.git Document UserGetReservedNames hook --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 69ab7723c8..8b1fa600ac 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1297,6 +1297,9 @@ $user: User object 'UserGetImplicitGroups': Called in User::getImplicitGroups() &$groups: List of implicit (automatically-assigned) groups +'UserGetReservedNames': allows to modify $wgReservedUsernames at run time +*&$reservedUsernames: $wgReservedUsernames + 'UserGetRights': Called in User::getRights() $user: User to get rights for &$rights: Current rights