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=wikidiscover (wd)
- This module requires read rights.
- Source: WikiDiscover
- License: GPL-3.0-or-later
Get a list of wikis on a CreateWiki wikifarm.
Specific parameters:
Other general parameters are available.
- wdcategory
Filter by the CreateWiki defined category of a wiki.
- Values (separate with | or alternative): artarc, automotive, businessfinance, community, education, electronics, entertainment, fandom, fantasy, gaming, geography, history, humour, langling, leisure, literature, media, medical, military, music, podcast, politics, private, religion, science, software, songcontest, sport, uncategorised
- wdcustomurl
Filter by if the wiki has a CreateWiki defined custom URL.
- Type: boolean (details)
- wdlanguage
Filter by the CreateWiki defined language code of a wiki.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- wdlimit
Maximum number of results to show.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 500
- wdoffset
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Type: integer
- Default: 0
- wdprop
Information to return about a defined wiki.
- Values (separate with | or alternative): category, closuredate, creationdate, deletiondate, description, exemptreason, inactivedate, languagecode, sitename, url
- Default: category|languagecode|sitename|url
- wdstate
Filter by the CreateWiki defined state of a wiki.
- Values (separate with | or alternative): active, all, closed, deleted, exempt, inactive, locked, open, private, public, undeleted, unlocked
- Default: all
- wdwikis
Get a list of specific wikis.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
Example:
- Show all wikis on the form.
- api.php?action=query&list=wikidiscover [open in sandbox]