Manual:Hooks/AddNewAccountApiForm

In MediaWiki 1.27, the hook has been removed and replaced by AuthManager functionality. Extensions which support AuthManager don't need to do anything special, API support is built in.