MediaWiki:Apihelp-acquiretempusername-summary
Appearance
Acquire a temporary user username and stash it in the current session, if temp account creation is enabled and the current user is logged out. If a name has already been stashed, returns the same name.