MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=allgroups (ag)

(main | query | allgroups)
  • This module requires read rights.
  • Source: OOJSPlus
  • License: GPL-3.0-only

Lists all groups declared on wiki

Specific parameters:
Other general parameters are available.
agprefix

Prefix search term

agcontains

Search for all user groups that contain this value.

agdir

Sorting direction

One of the following values: ascending, descending
Default: ascending
agprop

Properties to retrieve

displaytext
Displaytext of the group
Values (separate with | or alternative): displaytext