MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples:

meta=oath (oath)

(main | query | oath)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • Source: OATHAuth
  • License: GPL-2.0+

Check to see if two-factor authentication (OATH) is enabled for a user.


User to get information about. Defaults to the current user.

Type: user name
Get information about the current user
api.php?action=query&meta=oath [open in sandbox]
Get information about user Example
api.php?action=query&meta=oath&oathuser=Example [open in sandbox]