Manual:Hooks/LocalUserCreated/pl

Szczegóły

 * $user - User object for the created user
 * $autocreated - Boolean, whether this was an auto-creation. Note if your wiki uses CentralAuth this will always be true.

Uwagi
Added in as part of the upcoming  system. Replaces the method call and the  and  hooks.

Extensions which implement their own authentication provider might want to use  and   instead, which are similar but have access to more information. (Note that  is called significantly later in the process, after secondary authentication providers have finished.)

Changes which are not immediately required for database consistency should probably be deferred; see.

If is active, this hook is also called when a  is automatically created for a logged-out user.

