MediaWiki API help
This is an auto-generated MediaWiki Action API documentation page.
list=whosonline
- This module requires read rights.
- Source: WhosOnline
- License: GPL-2.0-or-later
Get the list of users currently online
Specific parameters:
Other general parameters are available.
- limit
Limit the number of returned users
- Type: integer
- offset
Offset of returned list of users
- Type: integer
Examples:
- List all registered users who are currently online
- api.php?action=query&list=whosonline [open in sandbox]
- List 5 registered users who are currently online
- api.php?action=query&list=whosonline&limit=5 [open in sandbox]
- List 5 registered users who are currently online, skipping the first 15 entries
- api.php?action=query&list=whosonline&limit=5&offset=15 [open in sandbox]