Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
list=wikisets (ws)
- This module requires read rights.
- Извор: CentralAuth
- Лиценца: GPL-2.0-or-later
Enumerate all wiki sets.
Специфични параметри:
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.
- 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)
Примери:
- Списак вики скупова
- 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]