Довідка API MediaWiki

Це автоматично генерована сторінка документації API MediaWiki.

Документація та приклади: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=acquiretempusername

(main | acquiretempusername)
  • Цей модуль вимагає прав на читання.
  • Цей модуль вимагає прав на запис.
  • Цей модуль приймає лише POST-запити.
  • Джерело: MediaWiki
  • Ліцензія: GPL-2.0-or-later

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.

If the user later performs an action that results in temp account creation, the stashed username will be used for their account. It may also be used in previews. However, the account is not created yet, and the name is not visible to other users.