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)
- Denna modul kräver läsrättigheter.
- Source: CentralAuth
- License: GPL-2.0-or-later
Räkna upp alla wiki-set.
Parametrar:
Other general parameters are available.
- wsfrom
Namnet på wiki-setet att starta från.
- wsprop
Vilka informationsbitar som ska inkluderas.
- type
- Opt-in-baserad (inkluderar enbart angivna wikier) eller opt-out-baserad (inkluderar all wikier utom de angivna).
- wikisincluded
- The wikier som är inkluderade i detta wiki-set.
- wikisnotincluded
- The wikier som inte är inkluderade i detta wiki-set.
- 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.
- Värden (separerade med | eller alternativ): type, wikisincluded, wikisnotincluded
- wslimit
Antalet wiki-set som ska returneras.
- Type: integer or max
- Värdet får inte ligga mellan 1 och 500.
- Standard: 10
- wsorderbyname
Sortera resultat efter namn.
- Type: boolean (details)
Examples:
- Lista wiki-set
- api.php?action=query&list=wikisets [open in sandbox]
- Visa wiki-set med typer
- api.php?action=query&list=wikisets&wsprop=type&wslimit=200 [open in sandbox]