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=wikisets (ws)
- This module requires read rights.
- Source: CentralAuth
- License: GPL-2.0-or-later
Enumerate all wiki sets.
Parameters:
- wsfrom
The name of the wiki set to start from.
- wsprop
What pieces of information to include.
- type
- Opt-in based (includes only specified wikis) or opt-out based (includes all wikis except specified).
- wikisincluded
- The wikis that are included in this wiki set.
- wikisnotincluded
- The wikis that are not included in this wiki set.
- Values (separate with | or alternative): type، wikisincluded، wikisnotincluded
- wslimit
How many wiki sets to return.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- wsorderbyname
Order results by name.
- Type: boolean (details)
Examples:
- List wiki sets
- api.php?action=query&list=wikisets [open in sandbox]
- Show wiki sets with types
- api.php?action=query&list=wikisets&wsprop=type&wslimit=200 [open in sandbox]