MediaWiki API súgó
Ez egy automatikusan generált MediaWiki-API-dokumentációs lap.
Dokumentáció és példák: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=wikisets (ws)
- Ez a modul olvasási jogot igényel.
- Forrás: CentralAuth
- Licenc: GPL-2.0-or-later
Enumerate all wiki sets.
Jellemző paraméterek:
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.
- Értékek (elválasztó: | vagy más): type, wikisincluded, wikisnotincluded
- wslimit
How many wiki sets to return.
- Típus: egész vagy max
- Az értéknek 1 és 500 között kell lennie.
- Alapértelmezett: 10
- wsorderbyname
Találatok csoportosítása név alapján.
- Típus: logikai (részletek)
Példák:
- List wiki sets
- api.php?action=query&list=wikisets [megnyitás a homokozóban]
- Show wiki sets with types
- api.php?action=query&list=wikisets&wsprop=type&wslimit=200 [megnyitás a homokozóban]