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: AntiSpoof for 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.
- Värden (separerade med | eller alternativ): type, wikisincluded, wikisnotincluded
- wslimit
Antalet wiki-set som ska returneras.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 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]