Trợ giúp về API MediaWiki
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)
- Mô đun này cần quyền đọc.
- Source: CentralAuth
- License: GPL-2.0-or-later
Enumerate all wiki sets.
Các tham số:
Other general parameters are available.
- 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.
- Các giá trị (phân tách bằng |): 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)
Các ví dụ:
- Liệt kê các bộ wiki
- 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]