Manual:Hooks/UserCreateForm

Details

 * &$template: SimpleTemplate instance for the form

Deprecated
From MediaWiki 1.27 on, the hook is deprecated and superseded by AuthManager functionality. User creation form fields should be added by some authentication provider returning an instance of an appropriate  subclass instance in , and that object can define the fields via. The authentication provider can read the submitted data from the  object via its   or  /  methods.

For purely cosmetic changes to the form, which don't need to be reflected to the API (such as adding more information or interactive widgets) the hook can be used.